createLib(ear, "ext.jar", false, ExternalWebBean.class);
JavaArchive ejbJar = createEjbJar("simple.jar", false, PlainJavaBean.class);
ear.addModule(ejbJar);
ejbJar = createEjbJar("ejbs.jar", false, MySLSBean.class, BusinessInterface.class);
ear.addModule(ejbJar);
WebArchive war = createWar("simple.war", false, ServletWebBean.class);
createLib(war, "ui.jar", false, UIWebBean.class);
ear.addModule(war);
war = createWar("crm.war", false, NotWBJsfBean.class);
createLib(war, "crm.jar", false, CrmWebBean.class);
ear.addModule(war);