aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes InitialContext 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 "InitialContext" Watch "InitialContext" New topic
Author

InitialContext

Vaithialingam Asai
Greenhorn

Joined: Mar 07, 2004
Posts: 10
Can Anyone Explain about InitialContext? How it helps in looking up the JNDI name present in the remote System?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
InitialContexts are usually provided by containers that your code is executing within. To connect to JNDI directories that are located elsewhere, you usually need to do so in a vendor-specific way. You'll have to consult some extra documentation to figure out what else is needed. The JNDI tutorial will probably help you sift out most of these issues.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: InitialContext