This content has been marked as final.
Show 1 reply
-
1. Re: Test and Production deployment
waynebaylor Jan 3, 2008 7:06 PM (in response to bbleafs)probably not possible in jar format. you might have a chance if you assigned different jndi names, but then you'd have different descriptors for each jar--which you want to avoid i'm guessing.
if you pack each jar into an ear and use jboss's default JNDI naming (which includes the name of the ear), then you could do it. so, if you had production.jar in prod.ear and test.jar in test.ear, then your client could use the following to lookup the beans:
1) Production: context.lookup("prod/MyBeanName/remote");
2) Test: context.lookup("test/MyBeanName/remote");
assuming they're remote interfaces of course.