• Post Reply Bookmark Topic Watch Topic
  • New Topic

questions re JNDI name binding in WSAD 5

 
Nichole Kim
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on a project which consists of a web project and multiple EJB projects. I noticed that the JNDI name bindings in Websphere in the web.xml and ejb-jar.xml are different. Does this matter? When I do a lookup, which name binding should I follow? Thank you!
Nichole
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35719
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The one in the ejb-jar.xml file is the one that is used for the EJB. I'm not sure why you are seeing the JNDI names for the entity beans in the web.xml file.
 
Nichole Kim
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,
It's in the References of the web.xml. The web project needs to call those EJBs when a request is sent, but the JNDI names of those EJBs are different from those in ejb-jar.xml. Does this matter?
Thanks!
Nichole
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!