[jboss-user] [EJB 3.0] - Programmatically looking up EAR-name of the current applicat
surak
do-not-reply at jboss.com
Fri Mar 30 06:08:12 EDT 2007
Hi,
We're migrating our application to the final EJB3-specs and we've stumbled into a problem with the new jndi-naming-schema. The new schema says that the beans are prefixed with the application name. Which is great, since we've been wanting to use beans from other apps a couple of times.
My question is how does one lookup the application name programmatically. We're using a common class for doing bean lookup shared among all of our applications and we cannot hardcode the name as I've seen in all of the examples.
Cheers
Johan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033079#4033079
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033079
More information about the jboss-user
mailing list