[jboss-user] [EJB 3.0] - Re: Programmatically looking up EAR-name of the current appl

fhh do-not-reply at jboss.com
Fri Mar 30 11:24:55 EDT 2007

I think the correct way to do this according to specs is to have a reference in the deployment desciptor and then look up the bean via java:/comp/env.

The correct jndi reference should then be put into your deployment descriptor during the build.

This is my idiosyncratic reading of the specs but maybe somebody more knowledgable can fill in more information.



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033232

More information about the jboss-user mailing list