wood burning stoves 2.0*
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InitialContext
 
Similar Threads
read .properties file in jsp
what's the use of InitialContext?
accessing EJB from java client Error!
problem with DB2 connection in a stateful session bean and deployed by Websphere
classcast exception while using JMS with Jboss