• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

JNDI Api

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 serverside.com. (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!
Art
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic