Programmatic access to a database is essential to applications that need to interact with persisted data. As this article has shown, to interact with IBM DB2 Universal Database Version 8 using Java, there are different architectures you can use, and each is coupled with specific syntax and software.
We focused on the JDBC API as a way to use Java to interact with DB2. JDBC is a mandatory offering of the Java 2, Standard Edition (J2SE). Another API that you might consider is the SQLJ API.