Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching JNDI Objects in tree fashion

 
faisal khan
Ranch Hand
Posts: 47
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic