As soon as we define a new JNDI connection in the Java server, we can use it under the Pentaho server by creating a new JNDI JDBC Data Source. JNDI JDBC Data Source is the second type of JDBC data source we can configure in Pentaho BA Server. We can configure it by defining the name of the JNDI connection we configured in the previous recipe in the configuration dialog box. Therefore, we are talking about another kind of JDBC data source here, but all of the databases' connection information is specified outside of the data source definition.
To define a new JNDI data source, we need to perform the following steps:
From the Home perspective, click on the Manage Data Source button.
Open JDBC's Database Connection dialog box as specified in steps 2 to 6 of the Creating a new native JDBC data source recipe.
Configure the JNDI JDBC Data Source connection by selecting Database Type. Then, select JNDI from the Access list box.
Type the name of the...