private AppInfo configureApplication(AppModule appModule, EjbModule ejbModule, Configuration configuration)
throws OpenEJBException {
OpenEjbConfiguration openEjbConfiguration = new OpenEjbConfiguration();
openEjbConfiguration.containerSystem = new ContainerSystemInfo();
openEjbConfiguration.facilities = new FacilitiesInfo();
boolean offline = true;
ConfigurationFactory.Chain chain = new ConfigurationFactory.Chain();
ConfigurationFactory configurationFactory = new ConfigurationFactory(offline, chain, openEjbConfiguration);
buildChain(offline,