This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Searching JNDI Objects in tree fashion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Searching JNDI Objects in tree fashion" Watch "Searching JNDI Objects in tree fashion" New topic
Author

Searching JNDI Objects in tree fashion

faisal khan
Ranch Hand

Joined: Mar 13, 2002
Posts: 47
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

Joined: Sep 29, 2002
Posts: 1683
InitialContext is the entry point into the JNDI tree. Check the API doc for the method(s) you need.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Searching JNDI Objects in tree fashion