JNDI Section Index | Page 3
How do you use the JNDI ENC to access JavaMail?
First of all, you have to create a javax.mail.Session like you would in accessing other resources such as JDBC connections:
InitialContext ctx = new InitialContext();
Session session =
(Sessio...more
Are there any JNDI tutorials?
Yes, check out
The JNDI Tutorial online and/or buy a copy of it
here.
more
What books cover JNDI (Java Naming and Directory Interface)?
Check out
The JNDI Tutorial. It's also available on the
web.
For other books that are relevant to JNDI, check out
Are ther any books that provide decent JNDI coverage?.
more
How do you add an entry to an LDAP server using JNDI?
You should take a look here first ...
http://java.sun.com/products/jndi/tutorial/ldap/index.html
And then take a look in the 'examples' diretory of the JNDI download.
more
Can I mix JNDI v1.1 with JNDI v1.2?
It depends. Check out
JNDI 1.2 Compatibility with JNDI 1.1 page.
Can I redistribute Sun's JNDI software?
The redistribution terms are discused in the
JNDI license.
What's new in JNDI v1.2?
Check out the
new JNDI features summary.
Where can I get the JNDI reference implementation?
From the
JNDI download page.
Where is the official documentation for JNDI?
Check out the
JNDI Documentation page.
What is an LDAP Distinguished Name?
Distinguished name is a unique name for an entry in the Directory Service.
A directory service has entries that are similar to the UNIX file structure.
For e.g., in Unix we have
/etc
/bin
/usr/b...more
What's the relationship between LDAP and JNDI?
JNDI has classes provided by Sun that will help your application interact with an LDAP server.
JNDI applications work similarly to JDBC applications....Write an application once
and be free to use...more
What's the format of an LDAP URL?
RFC 2255 defines the basic structure of the LDAP URL. Its basic definition is:
"ldap://" [host [":" port] ] ["/" [dn
["?" [attributeList] ["?" [scope]
["?" [filterString] ["?" extensio...more
What's a Naming System or Service?
A naming system associates names with addresses. A phone book is a perfect example of a naming system that associate people's names with phone numbers and addresses. Naming systems are used in c...more
Are there any books that provide decent JNDI coverage?
There are no books at this time that cover JNDI exclusively. There are, however, two books that include some coverage of JNDI as well as other Enterprise Java subjects -- they are listed below.
...more
What mailing lists are available for JNDI discussion?
Sun manages the JNDI-INTEREST mailing list. A searchable archive of this list can be found at http://archives.java.sun.com/archives/jndi-interest.html. There is also a link on that page which lets...more