This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Searching JNDI Objects in tree fashion
 
It's not a secret anymore!