IBM Books

Application Building Guide


Chapter 4. Building Java Applets and Applications

  • Setting the Environment
  • AIX
  • HP-UX
  • Linux
  • OS/2
  • Silicon Graphics IRIX
  • Solaris
  • Windows 32-bit Operating Systems
  • Java Sample Programs
  • JDBC Programs
  • Applets
  • Applications
  • Client Applications for Stored Procedures
  • Client Applications for User-Defined Functions
  • Stored Procedures
  • SQLJ Programs
  • Applets
  • Applications
  • Client Programs for Stored Procedures
  • Client Programs for User-Defined Functions
  • Stored Procedures
  • User-Defined Functions (UDFs)
  • General Points for DB2 Java Applets
  • You can develop Java programs to access DB2 databases with the appropriate Java Development Kit (JDK) for your platform. The JDK includes Java Database Connectivity (JDBC), a dynamic SQL API for Java.

    DB2 JDBC support is provided as part of the Java Enablement option on DB2 clients and servers. With this support, you can build and run JDBC applications and applets. These contain dynamic SQL only, and use a Java call interface to pass SQL statements to DB2.

    DB2 Java embedded SQL (SQLJ) support is provided as part of the DB2 Software Developer's Kit (DB2 SDK). With DB2 SQLJ support, in addition to DB2 JDBC support, you can build and run SQLJ applets and applications. These contain static SQL and use embedded SQL statements that are bound to a DB2 database.

    The SQLJ support provided by the DB2 SDK includes:

    For more information on DB2 programming in Java, refer to the "Programming in Java" chapter in the Application Development Guide.

    For the latest, updated DB2 Java information, visit the Web Page at:

       
    
    http://www.software.ibm.com/data/db2/java
    


    [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

    [ DB2 List of Books | Search the DB2 Books ]