my dog learned polymorphism*
The moose likes Java in General and the fly likes lookup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "lookup" Watch "lookup" New topic


sreejith panampilly
Ranch Hand

Joined: Jun 15, 2006
Posts: 49
is lookup used only in ejb ?
Joe Ess

Joined: Oct 29, 2001
Posts: 8935

That's a pretty vague question, sreejith. Do you mean the JNDI lookup one uses to locate the EJBHome? One can use JNDI to store and locate all manner of things. Have a look at the JNDI Tutorial for some examples.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: lookup