Skip navigation.

Programming WebLogic JTA

   Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Introducing Transactions

Overview of Transactions in WebLogic Server Applications

ACID Properties of Transactions

Supported Programming Model

Supported API Models

Distributed Transactions and the Two-Phase Commit Protocol

Support for Business Transactions

When to Use Transactions

When Not to Use Transactions

What Happens During a Transaction

Transactions in WebLogic Server EJB Applications

Container-managed Transactions

Bean-managed Transactions

Transactions in WebLogic Server RMI Applications

Transactions Sample Code

Transactions Sample EJB Code

Importing Packages

Using JNDI to Return an Object Reference

Starting a Transaction

Completing a Transaction

Transactions Sample RMI Code

Importing Packages

Using JNDI to Return an Object Reference to the UserTransaction Object

Starting a Transaction

Completing a Transaction

Configuring and Managing Transactions

Configuring Transactions

Monitoring Transactions

Logging

Monitoring

Transaction Service

About the Transaction Service

Capabilities and Limitations

Lightweight Clients with Delegated Commit

Client-initiated Transactions

Transaction Integrity

Transaction Termination

Flat Transactions

Relationship of the Transaction Service to Transaction Processing

Multithreaded Transaction Client Support

General Constraints

Transaction Scope

Transaction Service in EJB Applications

Transaction Service in RMI Applications

Transaction Service Interoperating with OTS

Server-Server 2PC

Client demarcated transactions

Java Transaction API and BEA WebLogic Extensions

JTA API Overview

BEA WebLogic Extensions to JTA

Transactions in EJB Applications

Before You Begin

General Guidelines

Transaction Attributes

About Transaction Attributes for EJBs

Transaction Attributes for Container-Managed Transactions

Transaction Attributes for Bean-Managed Transactions

Participating in a Transaction

Transaction Semantics

Transaction Semantics for Container-Managed Transactions

Transaction Semantics for Stateful Session Beans

Transaction Semantics for Stateless Session Beans

Transaction Semantics for Entity Beans

Transaction Semantics for Bean-Managed Transactions

Transaction Semantics for Stateful Session Beans

Transaction Semantics for Stateless Session Beans

Session Synchronization

Synchronization During Transactions

Setting Transaction Timeouts

Handling Exceptions in EJB Transactions

Transactions in RMI Applications

Before You Begin

General Guidelines

Using Third-Party JDBC XA Drivers with WebLogic Server

Overview of Third-Party XA Drivers

Table of Third-Party XA Drivers

Third-Party Driver Configuration and Performance Requirements

Using Oracle Thin/XA Driver

Software Requirements for the Oracle Thin/XA Driver

Known Oracle Thin Driver Issues

Set the Environment for the Oracle Thin/XA Driver

Oracle Thin/XA Driver Configuration Properties

Using the IBM DB2 Type 2 XA JDBC Driver

Set the Environment for the DB2 7.2/XA Driver

Limitation and Restrictions using DB2 as an XAResource

Using Sybase jConnect 5.5/XA Driver

Known Sybase jConnect 5.5/XA Issues

Set Up the Sybase Server for XA Support

Notes About XA and Sybase Adaptive Server

Connection Pools for the Sybase jConnect 5.5/XA Driver

Configuration Properties for Java Client

Other Third-Party XA Drivers

Coordinating XAResources with the WebLogic Server Transaction Manager

Overview of Coordinating Distributed Transactions with Foreign XAResources

Registering an XAResource to Participate in Transactions

Enlisting and Delisting an XAResource in a Transaction

Standard Enlistment

Dynamic Enlistment

Static Enlistment

Commit processing

Recovery

Resource Health Monitoring

J2EE Connector Architecture Resource Adapter

Implementation Tips

Sharing the WebLogic Server Transaction Log

Transaction global properties

TxHelper.createXid

FAQs

Additional Documentation about JTA

Participating in Transactions Managed by a Third-Party Transaction Manager

Overview of Participating in Foreign-Managed Transactions

Importing Transactions with the Client Interposed Transaction Manager

Get the Client Interposed Transaction Manager

Get the XAResource from the Interposed Transaction Manager

Limitations of the Client Interposed Transaction Manager

Importing Transactions with the Server Interposed Transaction Manager

Get the Server Interposed Transaction Manager

Limitations of the Server Interposed Transaction Manager

Transaction Processing for Imported Transactions

Transaction Processing Limitations for Imported Transactions

Commit Processing for Imported Transactions

Recovery for Imported Transactions

JCA Resource Adapter

Troubleshooting Transactions

Overview

Troubleshooting Tools

Exceptions

Transaction Identifier

Transaction Name and Properties

Transaction Status

Transaction Statistics

Transaction Monitoring and Logging

Glossary of Terms

 

Skip footer navigation  Back to Top Previous Next