jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
JNDI FAQ Home Page

Add new faq entry

Manager help

This FAQ is community-managed.

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 naming or directory service, it can be used to access many different kinds of systems including file systems; distributed objects systems like CORBA, Java RMI, and EJB; and directory services like LDAP, Novell NetWare, and NIS+. [Formerly managed by John Mitchell].

What's New

How do I initiate a JNDI lookup from an applet?
Java:API:Applets, Java:API:JNDI
Luigi Viggiano PREMIUM, Jan 29, 2002
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...
Where can I learn (more) about Java's support for transaction processing?
Java:API:JMS:Transactions, Java:API:RMI, Java:API:JNDI, Java:API:Security, Java:Language, Distributed computing:CORBA, Programming:Concepts:Threads, Java:API:EJB:Transactions, General:FAQs, Java:API:JDBC:Transactions
John Mitchell PREMIUM, May 31, 2001
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)?
Java:API:RMI, Java:API:JNDI, Java:API:Security, Java:Language, Distributed computing:CORBA, Distributed computing:Transactions, Java:API:Serialization, Java:API:Networking, Java:API:EJB:2.0, General:FAQs, Tools:AppServer
John Mitchell PREMIUM, May 30, 2001
Check out the jGuru JMS FAQ.

Where can I learn (more) about Sun's Jini network technology?
Java:API:RMI, Java:API:JNDI, Java:API:Security, Java:Language, J2ME, Java:API:Networking, General:FAQs
John Mitchell PREMIUM, May 30, 2001
Check out the jGuru Jini FAQ.
Where can I learn (more) about sending email in Java and the JavaMail library?
Java:API:JNDI, Java:Language, Tools, General:FAQs
John Mitchell PREMIUM, May 30, 2001
Check out the jGuru JavaMail FAQ.
Where can I learn (more) about Java's EJB (Enterprise JavaBeans)?
Java:API:JMS, Java:API:JavaBeans, Java:API:JDBC, Java:API:JNDI, Java:Language, Tools, Distributed computing:CORBA, Process:UML, General:FAQs, Tools:AppServer, Tools:AppServer:WebServer:Tomcat
John Mitchell PREMIUM, May 30, 2001
Check out the jGuru EJB FAQ.
Where can I learn (more) about Application Servers?
Languages:Markup:XML, Java:API:JSP:Vendors, Java:API:RMI, Java:API:JNDI, Java:API:Security, Java:Language, Tools, Distributed computing:CORBA, Java:API:Networking, Java:API:Servlets:Products, Java:API:EJB:Products, General:FAQs, Tools:AppServer:WebServer:Tomcat
John Mitchell PREMIUM, May 30, 2001
Check out the jGuru AppServer FAQ.
What's the difference between JNDI lookup(), list(), listBindings(), and search()?
Java:API:JNDI
John Mitchell PREMIUM, Mar 16, 2001
lookup() attempts to find the specified object in the given context. I.e., it looks for a single, specific object and either finds it in the current context...
How can I retrieve the results of a LDAP search in pages and also define number of entries on each page?
Java:API:JNDI, Java:API:JNDI:LDAP
John Mitchell PREMIUM, Mar 16, 2001
Set the Context.BATCHSIZE property before you create the context: // Set the batch size to 25... env.put ("java.naming.batchsize", "25...
Is there a JNDI service provider for NIS+?
Java:API:JNDI
raghavendra ghorpade, Mar 15, 2001
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?
Java:API:JNDI
mark wilcox, Mar 5, 2001
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...
Are there any JNDI service providers which support Micrsoft's Windows security/authentication services?
Java:API:JNDI, Java:API:Security
mark wilcox, Mar 5, 2001
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...
How can I get the cleartext version of a password through JNDI?
Java:API:JNDI, Java:API:JNDI:Security, Java:API:JNDI:LDAP
mark wilcox, Mar 5, 2001
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...
In using DirContext.search() and using the password field as a filter, I'm getting a NamingException with "no such algorithm" as the message. What does that mean?
Java:API:JNDI
Nicholas Whitehead, Jan 30, 2001
I suspect that what your JNDI provider is telling you is that it cannot decrypt the password in order to compare it to the value that you have supplied. I...
How can I use LDAP with JSP?
Java:API:JSP, J2EE:JNDI, Java:API:JNDI:LDAP, Distributed computing:Directory Services:LDAP
Jorge Jordão, Jan 4, 2001
To use LDAP within Java (JSP or not), you must use JNDI (Java Naming and Directory Interface). A bit like JDBC, JNDI consists of A list of packages:...
How can I obtain a JNDI Context from inside an applet?
Java:API:Applets, Java:API:JNDI
John Zukowski PREMIUM, Dec 28, 2000
To get an initial context from an applet, you need to pass the InitialContext constructor a Hashtable with the Context.APPLET property ("java.nam...
When using JNDI with LDAP, how can I get the DN (Distinguished Name) from a DirContext?
Java:API:JNDI, Java:API:JNDI:LDAP
Fdo J. Rendón Quiles, Nov 22, 2000
If you get the DN for a DirContext you have to use the method, getNameInNamespace(). This method retrieves the full name of this context within its own...
How can I configure JNDI to use SSL to connect to an LDAP server?
Java:API:JNDI, Java:API:Security
John Mitchell PREMIUM, Oct 24, 2000
Check out Sun's JNDI Tutorial's Security chapter, particularly the SSL and Custom Sockets section.
Can I have my JSP container access JSP pages which are not present in a local file system by doing a JNDI lookup?
Java:API:JSP, J2EE:JNDI, Java:API:JNDI:LDAP, Distributed computing:Directory Services:LDAP
Serge Knystautas, Oct 18, 2000
There is nothing in the specification that would prevent you from doing this. The specification defines how requests should get mapped to resources, the...
Are there any complete JNDI service provider (SPI) examples that use federation?
Java:API:JNDI
John Mitchell PREMIUM, Oct 5, 2000
Hmm... I don't know if this is "complete" enough for you or not but as part of the Building a Service Provider section of Sun's JNDI API Tutorial...
« previous beginning next »


Ask A Question



Related Links

JNDI Forum

JNDI Home Page (Sun Microsystems)

Java Report article

Distributed Computing article

Enterprise Java in a Nutshell (O'Reilly) book

Wish List
Features
About jGuru
Contact Us

 




JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES