JDBC Tutorials - Herong's Tutorial Notes
Dr. Herong Yang, Version 2.11

Installation of JdbcRowSet Reference Implementation

This section describes how to download and install JdbcRowSet Reference Implementation.

In order to play with RowSet interface and its implementations, I following these steps to download and install Sun's reference implementation package:

  • Go to JDBC Rowset Implementations page.
  • Click the Download button. You will see the JSR-000114 JDBC Rowset Implementations Specification Interface Classes 1.0 Public Review Draft 2 page.
  • Check the radio button on "Accept License Agreement".
  • Click the download icon next to "jdbc_rowset-1_0-prd2-ri.zip 259.75 KB".
  • Save the jdbc_rowset-1_0-prd2-ri.zip file to a temporary directory.
  • Unzip jdbc_rowset-1_0-prd2-ri.zip. You will see a new directory jdbc_rowset1.0prd2-ri.
  • Move that directory, jdbc_rowset1.0prd2-ri, to \local\jdbc_rowset.
  • Copy \local\jdbc_rowset\rowset.jar to \local\lib\rowset.jar.

The installation is done. But don't forget to read the API documentation at \local\jdbc_rowset\doc\index.html.

Sections in This Chapter

Overview of RowSet Objects

Installation of JdbcRowSet Reference Implementation

Connecting JdbcRowSet to Database Servers

Connecting JdbcRowSet with a Connection URL

Connecting JdbcRowSet with a Predefined Connection Object

Connecting JdbcRowSet with a Predefined ResultSet Object

Connecting JdbcRowSet with JNDI Directory Service

JdbcRowSet Query Statement with Parameters

Inserting Rows with JdbcRowSet Objects

Dr. Herong Yang, updated in 2007
Installation of JdbcRowSet Reference Implementation