This content has been marked as final.
Show 4 replies
-
1. Re: How to define context for EAR?
jaikiran Oct 29, 2009 1:44 AM (in response to gackonac)"gackonac" wrote:
For example, I would like to refer application with: /myapp,
Refer from where? In the EJB jndi names? -
2. Re: How to define context for EAR?
gackonac Oct 29, 2009 4:09 AM (in response to gackonac)Yes, to refer some JNDI resource like EJB.
In that case I wouldn't have to change code lines that contains: myapp/SomeBean/local, no matter of EAR file name. -
3. Re: How to define context for EAR?
jaikiran Oct 29, 2009 4:25 AM (in response to gackonac)Yes, to refer some JNDI resource like EJB.
See this then:
JBoss AS-4 http://www.jboss.org/ejb3/docs/tutorial/jndibinding/jndi.html
JBoss AS-5 http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JNDI_Bindings.html -
4. Re: How to define context for EAR?
gackonac Oct 29, 2009 5:28 AM (in response to gackonac)Jaikiran, thanks for your advice!
Although, I was searching for solution where default JNDI names for EJBs can be changed on global level.