摘要 |
A method, apparatus, and article of manufacture for accessing a database management system. A database management system (DBMS), executed by a server computer, manages one or more datastores stored on the computer. The DBMS includes an Open Transaction Manager Access (OTMA) that provides a high level application programming interface (API) for an application program to access the DBMS and its datastores, wherein the OTMA allows the application program to create an authorized connection with the DBMS. The server computer also executes a TCP/IP OTMA Connection (TOC) that establishes and manages connections between the DBMS and the application program. In the preferred embodiment, the application comprises a Java servlet or applet executed by a Java Virtual Machine JVM). A TOC Connector for Java interfaces the JVM to the TOC, wherein the TOC Connector for Java includes one or more objects for establishing a connection between an applet or servlet executed by the JVM and the OTMA of the DBMS, so that transactions can be transmitted from the application program to the DBMS over the established connection and results of the transmitted transactions can be received at the application from the DBMS.
|