• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

hi What is Java Naming and Directory Interface?

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.,Could you please tell me What is Java Naming and Directory Interface?I have a little understanding of this.It is the service used by the programmers to identify the objects and specified files in a file or directory structure (Ex NTFS or FAT in Windows XP etc.,).correct me if I am wrong.And also tell me How can this service identify the particuler object or file?
Thanks in advance
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi , what is you are telling is correct. JNDI is used to locate any object in the directory service. By using lookup method which is availble in DataSource object.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As its name implies, JNDI provides naming and directory services. The latter often maps to an LDAP directory, not file directories. You can find a few introductory articles linked in the J2EE FAQ.
[ October 14, 2007: Message edited by: Ulf Dittmer ]
 
suresh sai
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much.And also please provide me What are those naming and directory services? What is LDAP?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's all explained in the articles linked in the FAQ, particularly the ones titled "Naming Services", "Directory Services", "LDAP Introduction" and "LDAP Java Tutorial Chapter".
 
reply
    Bookmark Topic Watch Topic
  • New Topic