[jboss-user] [EJB 3.0] New message: "Re: Get ear name"

jaikiran pai do-not-reply at jboss.com
Thu Mar 4 10:17:25 EST 2010


User development,

A new message was posted in the thread "Get ear name":

http://community.jboss.org/message/529955#529955

Author  : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran

Message:
--------------------------------------------------------------
> sverker wrote:
>  
> but when lookin up the jndi names from beans inside the jar I need to find out which ear is being used. I've searched for a solution but can't find anything.
If you use the @org.jboss.ejb3.annotation.RemoteBinding (or org.jboss.ejb3.annotation.LocalBinding or their xml equivalents), you will no longer need to know the ear (or the jar) name. See this example http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JNDI_Bindings.html

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/529955#529955




More information about the jboss-user mailing list