Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How JNDI name locate the objects

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How JNDI name locate the objects registered with it.
Do it contains the information of its objects,no matter anywhere in the universe they are then placed.
I am not clear about this
Please tell me.
 
shiv kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your webpage(jsp/ whatever) makes request to server for remote resources e.g. Session EJB with some kind of ejb-reference-name. When server got this request (anywhere in world/network does not matter, since browser requests to perticular server anywhere), server looks for that resource's JNDI registry in this case web.xml file. In this DD he will find ejb-ref & all related entries to exactly find where the resource resides exactly on server(on other server servers in case of web services, but its with universal registry service called UDDI). Thats it, server pass on the request that resources. Now it's upto that resources to process request and send responce back through server.

Revert back, if not clear.
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNDI overview
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic