Oracle WebLogic Tuxedo Connector Programmer's Guide
Introduction to Oracle WebLogic Tuxedo Connector Programming
For information on how to develop Oracle WebLogic Server Enterprise JavaBeans (EJBs), see Programming WebLogic Enterprise JavaBeans.
The following sections provide information about the development environment you will be using to write code for applications that interoperate between Oracle WebLogic Server and Oracle Tuxedo:
- Guide to this Document
- Developing Oracle WebLogic Tuxedo Connector Applications
- Oracle WebLogic Tuxedo Connector JATMI Primitives
- Oracle WebLogic Tuxedo Connector TypedBuffers
Guide to this Document
This document introduces the Oracle WebLogic Tuxedo Connector application development environment. It describes how to develop EJBs that allow Oracle WebLogic Server to interoperate with Oracle Tuxedo objects.
The document is organized as follows:
- Introduction to Oracle WebLogic Tuxedo Connector Programming, provides information about the development environment you will be using to write code for applications that interoperate between Oracle WebLogic Server and Oracle Tuxedo.
- Developing Oracle WebLogic Tuxedo Connector Client EJBs, provides information on how to create client EJBs.
- Developing Oracle WebLogic Tuxedo Connector Service EJBs, provides information on how to create service EJBs.
- Using Oracle WebLogic Tuxedo Connector for RMI/IIOP and CORBA Interoperability, provides information on how to develop CORBA applications for the Oracle WebLogic Tuxedo Connector.
- Oracle WebLogic Tuxedo Connector JATMI Transactions, provides information on global transactions and how to define and manage them in your applications.
- Oracle WebLogic Tuxedo Connector JATMI Conversations, provides information on conversations and how to define and manage them in your applications.
- Using FML with Oracle WebLogic Tuxedo Connector, discusses the Field Manipulation Language (FML) and describes how the Oracle WebLogic Tuxedo Connector uses FML.
- Oracle WebLogic Tuxedo Connector JATMI VIEWs, provides information on View buffers and how to define and manage them in your applications.
- How to Create a Custom AppKey Plug-in, provides information on how to develop a Custom AppKey Plug-in.
- Application Error Management, provide mechanisms to manage and interpret error conditions.
Developing Oracle WebLogic Tuxedo Connector Applications
For more information on the Oracle WebLogic Tuxedo Connector JATMI, view the Javadocs for WebLogic Classes. The Oracle WebLogic Tuxedo Connector classes are located in the weblogic.wtc.jatmi and weblogic.wtc.gwt packages.
In addition to the Java code that expresses the logic of your application, you will be using the Java Application -to-Transaction Monitor Interface (JATMI) to provide the interface between Oracle WebLogic Server and Oracle Tuxedo.
Developing Oracle WebLogic Tuxedo Connector Clients
For more information, see Developing Oracle WebLogic Tuxedo Connector Client EJBs .
A client process takes user input and sends a service request to a server process that offers the requested service. Oracle WebLogic Tuxedo Connector JATMI client classes are used to create clients that access services found in Oracle Tuxedo. These client classes are available to any service that is made available through a the Oracle WebLogic Tuxedo Connector WTCServer MBean.
Developing Oracle WebLogic Tuxedo Connector Servers
For more information, see Developing Oracle WebLogic Tuxedo Connector Service EJBs .
Servers are processes that provide one or more services. They continually check their message queue for service requests and dispatch them to the appropriate service subroutines. Oracle WebLogic Tuxedo Connector uses EJBs to implement services which Oracle Tuxedo clients invoke.
Oracle WebLogic Tuxedo Connector Interoperability with Oracle Tuxedo CORBA objects
For more information, see Using Oracle WebLogic Tuxedo Connector for RMI/IIOP and CORBA Interoperability .
The Oracle WebLogic Tuxedo Connector provides bi-directional interoperability between Oracle WebLogic Server and Oracle Tuxedo CORBA objects. The Oracle WebLogic Tuxedo Connector:
- Enables Oracle Tuxedo CORBA objects to invoke upon EJBs deployed in Oracle WebLogic Server using the RMI/IIOP API (Inbound).
- Enables objects (such as EJBs or RMI objects) to invoke upon CORBA objects deployed in Oracle Tuxedo using the RMI/IIOP API (Outbound).
- Enables objects (such as EJBs or RMI objects) to invoke upon CORBA objects deployed in Oracle Tuxedo using a CORBA Java API (Outbound).
Oracle WebLogic Tuxedo Connector JATMI Primitives
The JATMI is a set of primitives used to begin and end transactions, allocate and free buffers, and provide the communication between clients and servers.
Oracle WebLogic Tuxedo Connector TypedBuffers
Oracle WebLogic Tuxedo Connector provides an interface called TypedBuffers that corresponds to Oracle Tuxedo typed buffers. Messages are passed to servers in typed buffers. The Oracle WebLogic Tuxedo Connector provides the following buffer types:.