• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where is root directory of JNDI mapped

 
Pratibha Malhotra
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNDI is a namespace having hierarchical structure having context as root
jdbc is one such subcontext we use.

My question is, Is JNDI's root directory ie context mapped somewhere in server. If yes where? If no, how do a server identifu the root directory representing context

lookup(jdbc/myDataSource) will search for jdbc subcontext but how would it identify the root directory(context) jdbc is present in.
[ September 21, 2005: Message edited by: Rewa Dev ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on the server. The specification does not define how a JNDI namespace should be structured.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic