This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InitialContext

 
Vaithialingam Asai
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Anyone Explain about InitialContext? How it helps in looking up the JNDI name present in the remote System?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic