|
|
Using Transactions
This document explains how to use transactions in CORBA, EJB, and RMI applications that run in the WebLogic EnterpriseTM environment. It introduces transaction concepts and the WLE Transaction Service. It discusses examples of transactional CORBA applications (C++ and Java), EJB applications (with container- and bean-managed transaction demarcation), and RMI applications. It describes how to integrate transactions with CORBA Java, EJB, and RMI applications that use the WLE JDBC/XA driver. Finally, this document explains how to administer transactional WLE applications.
Overview of Transactions in WebLogic Enterprise Applications
ACID Properties of Transactions
Support for Business Transactions
Distributed Transactions and the Two-Phase Commit Protocol
What Happens During a Transaction
Transactions in WebLogic Enterprise CORBA Applications
Transactions in WebLogic Enterprise EJB Applications
Transactions in WebLogic Enterprise RMI Applications
Transactions Sample CORBA Application
Lightweight Clients with Delegated Commit
Transaction Propagation (CORBA Only)
Interoperability Between Remote Clients and the WebLogic Enterprise Domain
Intradomain and Interdomain Interoperability
Relationship of the Transaction Service to Transaction Processing
Multithreaded Transaction Client Support
Transaction Service in CORBA Applications
Getting Initial References to the TransactionCurrent Object
CORBA Transaction Service API Extensions
Notes on Using Transactions in WebLogic Enterprise CORBA Applications
Transaction Service in EJB Applications
Transaction Service in RMI Applications
Exceptions Thrown by UserTransaction Methods
3. Transactions in CORBA Server Applications
Integrating Transactions in a WebLogic Enterprise Client and Server Application
Transaction Support in CORBA Applications
Making an Object Automatically Transactional
Enabling an Object to Participate in a Transaction
Preventing an Object from Being Invoked While a Transaction Is Scoped
Excluding an Object from an Ongoing Transaction
Opening an XA Resource Manager
Closing an XA Resource Manager
Transactions and Object State Management
Delegating Object State Management to an XA Resource Manager
Waiting Until Transaction Work Is Complete Before Writing to the Database
How the Transactions University Sample Application Works (C++ Only)
About the Transactions University Sample Application
Transactional Model Used by the Transactions University Sample Application
Object State Considerations for the University Server Application
Configuration Requirements for the Transactions Sample Application
4. Transactions in CORBA Client Applications
Overview of WebLogic Enterprise CORBA Transactions
Summary of the Development Process for Transactions
Step 1: Use the Bootstrap Object to Obtain the TransactionCurrent Object
Step 2: Use the TransactionCurrent Methods
5. Transactions in EJB Applications
About Transaction Attributes for EJBs
Transaction Attributes for Container-managed Transactions
Transaction Attributes for Bean-managed Transactions
Participating in a Transaction
Transaction Semantics for Container-managed Transactions
Transaction Semantics for Bean-managed Transactions
Handling Exceptions in EJB Transactions
6. Transactions in RMI Applications
7. Transactions and the WebLogic Enterprise JDBC/XA Driver
About Transactions and the WebLogic Enterprise JDBX/XA Driver
Support for Transactions Using the WebLogic Enterprise JDBC/XA Driver
Local Versus Distributed (Global) Transactions
Transaction Contexts in WebLogic Enterprise JDBC/XA Connections
JDBC Accessibility in Java Methods
JDBC/XA Accessibility in CORBA Methods
JDBC/XA Accessibility in EJB Methods
Implementing Distributed Transactions
Initializing the TransactionCurrent Object Reference
Finding the Connection Pool via JNDI
Setting Up XA Distributed Transactions
Performing a Distributed Transaction
Modifying the UBBCONFIG File to Accommodate Transactions
Step 1: Specify Application-wide Transactions in the RESOURCES Section
Step 2: Create a Transaction Log (TLOG)
Step 3: Define Each Resource Manager (RM) and the Transaction Manager Server in the GROUPS Section
Step 4: Enable an Interface to Begin a Transaction
Modifying the Domain Configuration File to Support Transactions (WebLogic Enterprise Servers)
Characteristics of the DMTLOGDEV, DMTLOGNAME, DMTLOGSIZE, MAXRDTRAN, and MAXTRAN Parameters
Sample Distributed Application Using Transactions
SERVERS, SERVICES, and ROUTING Sections
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|