HP (Hewlett-Packard) Reliable Transaction Router Network Router User Manual


 
Application Programming Interfaces
Application Programming Interfaces
You write application programs and management applications
with the RTR application programming interfaces.
RTR Java
Object-Oriented
Interface
You can use Java and J2EE technology to write applications
that use RTR. For additional information on these technologies,
see the documentation that is part of the JRTR downloadable
kit. This documentation includes the JRTR Getting Started
manual and other supplementary materials, including a sample
application.
Java Technology
The following Java technology is used by:
RTR Clients RTR Servers
UserTransaction Interface InputStreams
OutputStreams
J2EE Technology
The following J2EE technology is used by RTR servers:
a database and a JDBC driver that supports the JDBC 2.0
Optional Package javax.sql (required)
a JNDI service provider (optional)
Figure 4–6 illustrates the required connection that must be
dened for a service provider, with the links to the connection
pool and the JDBC driver that are set up by the system
administrator. The application program needs only to know
about the service provider to use the connection.
RTR Java J2EE-based applications need to be able to locate
and access database resources external to the application.
The J2EE JDBC 2.0 javax.sql package addresses these needs
through datasources, connections and connection pooling. For
any particular database, the database vendor must provide a
JDBC driver which supports the JDBC 2.0 Optional Package
(formerly known as the JDBC 2.0 Standard Extension). This
package denes datasources and connection pools.
4–16 RTR Interfaces