JNDI Section Index
What is JNDI?
The Java Naming and Directory Interface (JNDI) is an application programming interface (API) for accessing different kinds of naming and directory services. JNDI is not specific to a particular n...more
Where can I learn (more) about Java's support for transaction processing?
Check out the jGuru
Transactions FAQ.
Where can I learn (more) about Java's support asynchronous and publish/subscribe messaging using JMS (Java Message Service)?
Check out the jGuru JMS FAQ.
Where can I learn (more) about Sun's Jini network technology?
Check out the jGuru Jini FAQ.
Where can I learn (more) about sending email in Java and the JavaMail library?
Check out the jGuru JavaMail
FAQ.
Where can I learn (more) about Java's EJB (Enterprise JavaBeans)?
Check out the jGuru EJB FAQ.
Where can I learn (more) about Application Servers?
Check out the jGuru AppServer
FAQ.
How do I initiate a JNDI lookup from an applet?
First, in the jar file of your applet you will need followin classes included:
Classes from the jar with the client portion of your specific jndi provider classes
Classes from the the jar conta...more
Where can I learn (more) about Java's support for developing multi-threaded programs?
Check out the jGuru Threads
FAQ.
What's the difference between JNDI lookup(), list(), listBindings(), and search()?
What's the difference between JNDI lookup(),
list(), listBindings(), and
search()?
How can I retrieve the results of a LDAP search in pages and also define number of entries on each page?
Set the Context.BATCHSIZE property before you create the context:
// Set the batch size to 25...
env.put ("java.naming.batchsize", "25");
DirContext dc = new InitialDirContex...more
Is there a JNDI service provider for NIS+?
As for now there is no sevice provider for NIS+ but there is JNDI sevice provider for NIS that is -- com.sun.jndi.nis.nisctyfactory.
Where can I find a JNDI service provider which uses an SQL database as its backing store?
The answer to your question will depend upon what you're trying to do. If you're looking for a LDAP server with a SQL server, then you should probably check out Oracle's OID system which is Oracle...more
Are there any JNDI service providers which support Micrsoft's Windows security/authentication services?
Microsoft's sytsems can be broken down into 5 discrete areas:
Messaging -- Exchange has a quite capable LDAP interface
NT Domains -- There's no way to get access to NT domains from JNDI currently...more
How can I get the cleartext version of a password through JNDI?
You can't, unless the password is stored in cleartext in the directory (which would be a bad idea). The passwords are encrypted using a strong 1-way hash function such as MD5 or SHA1 (SHA1 being t...more