This content has been marked as final.
Show 3 replies
-
1. Re: Embedded EJB3 & classes
bdecoste May 4, 2006 9:34 PM (in response to jc7442)I've created a JIRA task for this issue:
http://jira.jboss.com/jira/browse/EJBTHREE-552 -
2. Re: Embedded EJB3 & classes
bdecoste May 4, 2006 10:08 PM (in response to jc7442)You can use directories to deploy to embedded EJB3. Here is an code example. Note that the standalone directory in the example is the parent directory of the deployment directory (i.e. standalone would contain a test subdirectory that would contain the deployment: META-INF, classes, etc.
URL deployDir = new URL("file:/C:/eclipse/workspace/jboss-head/ejb3/output/test-lib/embeddable/standalone"); EJB3StandaloneDeployer deployer = new EJB3StandaloneDeployer(); deployer.setKernel(EJB3StandaloneBootstrap.getKernel()); deployer.setJndiProperties(getInitialContextProperties()); deployer.setDefaultPersistenceProperties(getDefaultPersistenceProperties()); deployer.getDeployDirs().add(deployDir);
-
3. Re: Embedded EJB3 & classes
jc7442 May 5, 2006 2:25 AM (in response to jc7442)Thanks, in fact it works fine with classes. I had a problem in my classpath.
I'm sorry !!