Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JNDI Api  RSS feed

Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to connect to on LDAP server using Java.I know that i have to use the JNDI api for this pusrpose.Can i use JNDI to connect to any other directory service other than an LDAP enabled one?
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Udayan.
Yes, other directory services, such as COS Naming or a machine's file system, are available.
For a great discussion on JNDI, I would recommend downloading Ed Roman's book, Mastering Enterprise JavaBeans at the (In order to download the book, you will be required to register, but registering is free. Furthermore, you'll need Adobe Acrobat Reader to read the book.) Mr. Roman's wonderful discussion of JNDI, naming services and directory services can be found in Appendix B, "Understanding the Java Naming and Directory Interface". This chapter should answer your question nicely.
To buy a copy of the book or view its errata, click here.
Good luck, Udayan!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!