BEA Logo BEA WebLogic Server Release 6.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

   Programming WebLogic JTA:   Previous Topic   |   Next Topic   |   Contents   

 

Programming WebLogic JTA

 

Contents

 

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

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

Statistics

Monitoring

Adding a Transactional Resource Manager

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

Java Transaction API and BEA WebLogic Extensions

JTA API Overview

BEA WebLogic Extensions to JTA

Transactions in EJB Applications

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

Troubleshooting Transactions

Overview

Troubleshooting Tools

Exceptions

Transaction Identifier

Transaction Name and Properties

Transaction Status

Transaction Statistics

Transaction Monitoring

Transaction Log

Debugging Tips

Handling Heuristic Completions

Transaction System Recovery

Migration

Migrating from WebLogic Server 4.5

Migrating from WebLogic Server 5.1

Configuration Checklists A-1

Distributed Transactions A-1

Transaction Logging A-2

 

Back to Top