Chapter 1. Java Application Development For Db2 - IBM DB2 Manual

Table of Contents

Advertisement

Chapter 1. Java application development for DB2

The DB2 database system provides driver support for client applications and
applets that are written in Java using JDBC, and for embedded SQL for Java
(SQLJ).
JDBC is an application programming interface (API) that Java applications use to
access relational databases. DB2 support for JDBC lets you write Java applications
that access local DB2 data or remote relational data on a server that supports
DRDA
SQLJ provides support for embedded static SQL in Java applications. SQLJ was
initially developed by IBM, Oracle, and Tandem to complement the dynamic SQL
JDBC model with a static SQL model.
In general, Java applications use JDBC for dynamic SQL and SQLJ for static SQL.
However, because SQLJ can inter-operate with JDBC, an application program can
use JDBC and SQLJ within the same unit of work.
© Copyright IBM Corp. 1998, 2008
®
.
Related concepts
Chapter 2, "Supported drivers for JDBC and SQLJ," on page 3
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents