apache > db
Apache DB Project
 
Font size:      

Using Derby as a J2EE Resource Manager

Using Derby as a J2EE Resource Manager

J2EE, or the Java 2 Platform, Enterprise Edition, is a standard for development of enterprise applications; one example is Enterprise Java Beans (EJBs) with distributed capabilities.

Derby is a J2EE-conformant component in a distributed J2EE system. As such, it is one part of a larger system that includes, among other things, a JNDI server, a connection pool module, a transaction manager, a resource manager, and user applications. Derby also supports the JTA API, which is not a current J2EE requirement, but this functionality provides another piece of the same system. Within this system, Derby can serve as the resource manager.

For more information on J2EE and how to work in this environment, see the J2EE specification available at http://java.sun.com/j2ee/docs.html.

Note:
This chapter does not show you how to use Derby as a Resource Manager. Instead, it provides details specific to Derby that are not covered in the specification. This information is useful to programmers developing other modules in a distributed J2EE system, not to end-user application developers.

In order to qualify as a resource manager in a J2EE system, J2EE requires these basic areas of support. These three areas of support involve implementation of APIS and are described in "J2EE Compliance: Java Transaction API and javax.sql Extensions" in the Derby Reference Manual.

This chapter describes the Derby classes that implement the APIs and provides some implementation-specific details.

Note:
All of the classes described in this chapter require a Java(TM) 2 Platform, Standard Edition, v 1.2 (J2SE) or higher environment.

Previous Page
Next Page
Table of Contents
Index