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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116907#4116907

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116907
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to