I havent thought whether there are any other ways of doing this, but the first thing that
comes to my mind is passing the earName as an <env-entry>. You may bind the earName
through the env-entry and later on lookup the same in your code:
String earName = ctx.lookup("java:/comp/env/earName");
| ctx.lookup(earName + "BeanClassName/local");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960635#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...