JNDI (Java Native Directory Interface) is a Java API that lets a client application look up data and objects published under a name in a directory service. This API is used by a J2EE server to publish various kinds of resources initialized by the application server and made available to various clients. Because Pentaho BA Server runs on a Java server, we can define a set of JNDI database connections in the Java server and have them available as a Pentaho Data Source (we will see this in the next recipe). The ability to define a JNDI connection in the Pentaho server is a pre-requisite for our next recipe.
To get ready for this recipe, remember to check whether our Pentaho BA Server instance is switched off. If not, please switch it off before you continue with this recipe. It would also be considered a good thing to have a little background knowledge about how to configure a Tomcat server instance.