• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi What is Java Naming and Directory Interface?

 
suresh sai
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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
 
shankar reddy
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42968
73
  • Mark post as helpful
  • send pies
  • 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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic