Before you begin, you need to do two things. First, make sure you have the required software. The first section lists that software.
Second, you need to perform some programmatic setup. The last part part of this lesson details how to do this, including how to create an initial context and how to handle the exceptions that JNDI methods can throw.
In addition, a section is included that explains what to expect from the examples in this tutorial. The examples are intended to be guides for you to follow when building your own applications. You can run them to observe the behavior described. When you write your own applications and run them against servers that you or others have set up, the behavior that you observe might be dramatically different.