Previous | Next | Trail Map | Getting Started | Contents

Examples

This lesson contains two examples. The first example shows you how to look up an object from a naming service, in this case, the file system. The second example shows you how to read an attribute from a directory service, in this case, an LDAP directory.

If you have problems compiling or running these examples, see the Common Problems (in the Getting Started trail) lesson. It describes problems you might encounter when trying to compile and run the examples, or when using the JNDI in general.


Previous | Next | Trail Map | Getting Started | Contents