Connecting to the Data Grid by Using ActiveSpaces JDBC Driver
Java applications can connect to the ActiveSpaces data grid by using the ActiveSpaces JDBC Driver.
Procedure
- Register the ActiveSpaces JDBC driver with the JDBC Driver Manager. For more information, see Registering the ActiveSpaces JDBC Driver with the Driver Manager.
- Connect with an ActiveSpaces data grid by using the appropriate JDBC URL. For more information, see Creating the ActiveSpaces JDBC Connection.
- Setting up the Environment
The ActiveSpaces JDBC driver is bundled with the ActiveSpaces Java client API and included in tibdg.jar. To use the ActiveSpaces JDBC driver from a client application, follow the same steps for setting up your application that you used for the Java API. For information about setting up your environment to build and run the ActiveSpaces samples, refer to the TIBCO_HOME/as/<version>/samples/src/Java/README.md file. - Registering the ActiveSpaces JDBC Driver with the Driver Manager
Use the class name, com.tibco.datagrid.jdbc.DriverImpl when registering the ActiveSpaces JDBC driver or configuring other software to use the ActiveSpaces JDBC driver. - Creating the ActiveSpaces JDBC Connection
After registering the ActiveSpaces JDBC driver, the next step is to make the ActiveSpaces JDBC connection.
Copyright © Cloud Software Group, Inc. All rights reserved.