assembler.createSecurityService(config.configureService(SecurityServiceInfo.class));
EjbJar ejbJar = new EjbJar();
ejbJar.addEnterpriseBean(new StatelessBean(Echo.class));
Beans beans = new Beans();
beans.addInterceptor(EchoInterceptor.class);
beans.addDecorator(EchoDecorator.class);
beans.addManagedClass(SimpleModel.class);
beans.addManagedClass(ProducesEjbInjector.class);
EjbModule module = new EjbModule(ejbJar);
module.setBeans(beans);
assembler.createApplication(config.configureApplication(module));