-
1. Re: Changing default JNDI namming pattern for deployed ear
vianney May 31, 2006 2:05 AM (in response to najgor)Same need.
We want to be able to name our ear file with a version number like application-1.3.5.ear but if we do that we'll have to change our source code (actually just the web.xml where we define a context-param for this jndi prefix but still).
Is there anything similar to context-root for webapps?
Thx for your help,
Vianney -
2. Re: Changing default JNDI namming pattern for deployed ear
apill Jun 2, 2006 5:29 AM (in response to najgor)I have exactly the same question.
If someone has the answer it would be very helpful.
It is not very nice having to remember to update jndi lookup code for every release. -
3. Re: Changing default JNDI namming pattern for deployed ear
voidhawc Jun 5, 2006 6:56 PM (in response to najgor)Same here.
Different versions have a different ear name. any body know of any solutions. Don't want to update teh JNDI lookup every time.
Thanks
Grant -
4. Re: Changing default JNDI namming pattern for deployed ear
voidhawc Jun 5, 2006 7:11 PM (in response to najgor)Hey guys,
Try @RemoteBinding(jndiBinding="location")
It's a JBoss annotation for specifying the remote interface location for EJB3.
Good luck.
Grant -
5. Re: Changing default JNDI namming pattern for deployed ear
apill Jun 6, 2006 3:49 AM (in response to najgor)You will probably be interested in the outcome of my discussion with Bill Burke on this topic. See the following thread and jira issue.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84259
http://jira.jboss.com/jira/browse/EJBTHREE-617