Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

search EJB JNDI Name  RSS feed

 
Parul Dholakia
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am having a small problem. I have the valid initail context.I want to get reference to one of the EJBHome using lookup. But I don't know the exact path taht has to be given in look up. I know it is there for sure, jsut full path, I don't know. So can i search for it ? Some sort of context.search(MyEjbHome)..which will return me the full path ..or any other way, where I can get the full tree in context and then I will search in that.
I am working on WAS 3.5 .
thanks and regards,
parul.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've often used the following servlet to look at the contents of the WebSphere 3.5 Naming Service. Looking through this and also reading through the JNDI specifications should give you an indication of how to do what you want.
Kyle

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
[This message has been edited by Kyle Brown (edited November 29, 2001).]
 
Parul Dholakia
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kyle Brown. It works !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!