Can Anyone Explain about InitialContext? How it helps in looking up the JNDI name present in the remote System?
posted 13 years ago
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.