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


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to