Data access bean types

 

Data access bean types

Data access beans are essentially a class library that makes it easier to access a database. The library contains a set of beans with methods that access the database through the JDBC API. There are several sets of classes referred to as data access beans. To make things clearer, you can refer to the classes by the name of the JAR file that contains them:

databeans.jar - This JAR file ships with WebSphere Application Server. This file contains classes that enable you to access the database using the JDBC API.

ivjdab.jar - This JAR file ships with Visual Age for Java. This file contains all of the classes in the databeans.jar file and classes that support easy use of the data access beans from the Visual Age for Java Visual Composition Editor.

dbbeans.jar - This JAR file ships with Rational Application Developer. This file contains a set of data access beans to more closely conform to the JDBC 2.0 RowSet standard.

For the current product, data access beans remain unchanged from WebSphere Application Server Version 4.0. The com.ibm.db package is provided to support existing applications that use data access beans.

IBM strongly suggests that any new applications using data access beans be developed using the com.ibm.db.beans package that is provided with Rational Application Developer.

If you want to continue using applications that use the com.ibm.db package, see the WebSphere Application Server Version 4.0 documentation concerning data access beans.

If you want to create new applications that use the com.ibm.db.beans package, see the Rational Application Developer documentation concerning data access beans. An example is shown here: Example: Using data access beans


Sub-topics
Example: Using data access beans

Related concepts
Data access beans

Related reference
Data access : Resources for learning