The following figure shows how a Java application connects to a data source using
IBM Data Server Driver for JDBC and SQLJ type 4 connectivity.
Java application
DriverManager
or
DataSource
Local database
or DB2
subsystem
JDBC driver*
Database
server
*Java byte code executed under JVM,
and native code
Figure 2. Java application flow for IBM Data Server Driver for JDBC and SQLJ type 2
connectivity
Java application
DriverManager
or
DataSource
JDBC driver*
Database
server
*Java byte code executed under JVM
DRDA
Figure 3. Java application flow for IBM Data Server Driver for JDBC and SQLJ type 4
connectivity
10 Application Programming Guide and Reference for Java
™