• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching JNDI Objects in tree fashion

 
faisal khan
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i have deployed EJBs on weblogic 7.5, JNDI name look like

com/nbb/server/cc/ Bind Stub Object
com/nbb/server/tt/ Bind Stub Object
com/nbb/server/aa/bb/ Bind Stub Object
com/nbb/server/gg/kk/tt Bind Stub Object

i want to write generic java code to traverse the tree structure and find
bind object for these EJBs.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InitialContext is the entry point into the JNDI tree. Check the API doc for the method(s) you need.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic