Migration
This section describes migration issues specific to WebLogic JTA.
This section includes the following topics:
Migrating from WebLogic Server 4.5
WebLogic Server 4.5 supports the 1.0 version of the JTA service, while the current release supports the JTA 1.0.1 version. The following changes were made to the Java Transaction API (JTA) Specification version 1.0.1, published by Sun Microsystems, Inc.:
- The HeuristicException class was removed from the specification.
- The following classes were added:
- javax.transaction.NotSupportedException
- javax.transaction.Status
- javax.transaction.Synchronization
- javax.transaction.SystemException
- javax.transaction.Transaction
- javax.transaction.TransactionManager
- javax.transaction.RollbackException
- HeuristicCommitException, HeuristicMixedException and HeuristicRollbackException formerly extended RemoteException, and now extend Exception.
- RollbackException is now thrown wherever TransactionRolledbackException was formerly thrown. TransactionRolledbackException is now thrown only by non-JTA code (such as EJB code) to indicate that the transaction rolled back.
- Status codes were extracted out of the UserTransaction class into a new Status class. The status codes were not otherwise changed.
Other changes (such as changes to the XA interfaces) are not relevant since WebLogic Server 4.5 did not implement XA support.
Migrating from WebLogic Server 5.1
The weblogic.transaction.utils.TxUtils class was renamed to weblogic.transactions.common.TxHelper. This interface was not publicly documented, so should not affect application code.
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.
|