Using Data Access beans

To access relational databases, CICS® applications written in Java™ can use JDBC or SQLJ calls together with a suitable JDBC driver. However, if you are not experienced in JDBC or SQLJ programming, you might find it more convenient to use Data Access beans, which package the native JDBC calls with extra function. Data Access beans are JavaBeans, not enterprise beans. They are a feature of VisualAge® for Java.

Three Data Access beans provide core function for accessing databases:
Additional beans provide user interfaces to invoke methods on the core beans and to help display output from the database:

All the beans mentioned are non-visual.

The Select, Modify, and ProcedureCall beans have properties that contain connection aliases and SQL specifications. These properties allow you to connect to relational databases and access data. You can also use parameterized SQL statements with the Select, Modify, and ProcedureCall beans.

For detailed programming information about Data Access beans, see the softcopy document Data Access, supplied with VisualAge for Java Enterprise Edition, Version 4.