transactions.add(new ContainerTransaction(TransAttribute.SUPPORTS, null, "MyCmpBean", "*"));
transactions.add(new ContainerTransaction(TransAttribute.SUPPORTS, null, "MySingletonBean", "*"));
AppModule module = new AppModule(this.getClass().getClassLoader(), "test");
module.getEjbModules().add(new EjbModule(ejbJar));
assembler.createApplication(config.configureApplication(module));
}
@LocalHome(MyLocalHome.class)
@RemoteHome(MyRemoteHome.class)