Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI lookup  RSS feed

 
srinivas k
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a must for us to use JNDI lookup for getting reference to the Home interface? is there any other alternative instead of using JNDI?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you must use JNDI to lookup an EJB's Home interface.
Once you get a Home interface you can cache it to avoid the JNDI lookup on subsequent calls.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!