Download the Tutorial

The complete online tutorial is available in an archive so that you can download it and view it locally on your computer. The archive contains all of the source code and the corresponding .class files for each example. Go to our Web site to download the tutorial.


Note: If you download the tutorial, feel free to make it available locally at your site. Please do not publicly mirror it to the Web!

Install the Tutorial

The JNDI tutorial contains links to the JNDI javadoc. We recommend that you install both the JNDI tutorial and javadoc archives so that the tutorial can refer to the API documentation.

  1. Download the JNDI tutorial.
  2. Create the directories in which the tutorial and javadoc will live.

    On Unix, for example, create the following directories:

    # mkdir jndi
    # mkdir jndi/tutorial
    # mkdir jndi/javadoc
    
    On Windows, for example, create the following directories:
    # mkdir jndi
    # mkdir jndi\tutorial
    # mkdir jndi\javadoc
    
  3. Unpack the tutorial archive.

    On Unix, use a utility that understands the ZIP format, such as jar and unzip:

    # cd jndi/tutorial
    # unzip -U /tmp/jnditutorial.zip
    
    On Windows, use a utility such as WinZip to unpack jnditutorial.zip into the directory jndi/tutorial that you've created.
  4. Download the JNDI javadoc.
  5. Unpack the javadoc archive.

    On Unix, use a utility that understands the ZIP format, such as jar and unzip:

    # cd ../javadoc
    # unzip -U /tmp/javadoc.zip
    
    On Windows, use a utility such as WinZip to unpack javadoc.zip into the directory jndi/javadoc that you've created.

Using the Tutorial

Point your Web browser at jndi/tutorial/index.html in the directory that you've created for the tutorial. That leads you to the front page of the tutorial and you're ready to go!