• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI LOOKUP

 
Sridhar Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In Jndi context.lookup("Object_Name") gives the Object However is it possible to get a list of object available using lookup or any other method if so can u post some example
 
Steve Chernyak
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have experience working with this, but I do know that you would use the list and listBindings methods to get a NamingEnumeration, which will contain the names of the objects that are bound to the jndi tree.
Hope this helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!