This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to find the JNDI lookup name? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to find the JNDI lookup name?" Watch "How to find the JNDI lookup name?" New topic
Author

How to find the JNDI lookup name?

trivikram Kumar
Ranch Hand

Joined: Feb 21, 2005
Posts: 172
How to find the JNDI lookup name when using EJB's in WSAD?
Can we set the name ??
Could someone explain me this....

Thanks in advance


Javainn<br /> <br />SCJP,SCWCD,SCBCD,<br />ICED (IBM-287,IBM-484,IBM-486)
IBM certified in DB2 V 8.1 Family Fundamentals (IBM 700)
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

In the J2EE perspective, you can drill down on the EJBs option to get to your EJB. Double click it and another editor will open. That editor shows the remote JNDI name on the right hand side. The local JNDI name is the remote one prefaced by "local:ejb".

An alternative way to find the JNDI name is to drill down using the Universal Test Client. However, this requires the server to already be on.

Edited to add that this assumes you are using WSAD 5.X
[ July 27, 2005: Message edited by: Jeanne Boyarsky ]

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
trivikram Kumar
Ranch Hand

Joined: Feb 21, 2005
Posts: 172
Thankyou for the reply
When I am looking in Universal Test Client,i am not able to find the ejb folder in JNDI explorer.
How to get over it?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to find the JNDI lookup name?