Technical data

15 Managing Transactions
15-2 Administration Guide
Before configuring your transaction environment, you should be familiar with the
J2EE components that can participate in transactions, such as EJBs, JDBC, and JMS.
n EJBs (Enterprise JavaBeans) use JTA for transactions support. Several
deployment descriptors relate to transaction handling. For more information
about programming with EJBs and JTA, see Programming WebLogic Enterprise
JavaBeans.
n JDBC (Java Database Connectivity) provides standard interfaces for accessing
relational database systems from Java. JTA provides transaction support on
connections retrieved using a JDBC driver and transaction data source. For more
information about programming with JDBC and JTA, see Programming
WebLogic JDBC.
n JMS (Java Messaging Service) uses JTA to support transactions across multiple
data resources. WebLogic JMS is an XA-compliant resource manager. For more
information about programming with JMS and JTA, see Programming WebLogic
JMS.
For more information about configuring J2EE components, see the applicable sections
of this document and the Administration Console Online Help.
Configuring Transactions
The Administration Console provides default values for all JTA configuration
attributes. If you specify an invalid value for any configuration attribute, the WebLogic
Server does not boot when you restart it.
Configuration settings for JTA are applicable at the domain level. This means that
configuration attribute settings apply to all servers within a domain. Monitoring and
logging tasks for JTA are performed at the server level.
Once you configure WebLogic JTA and any transaction participants, the system can
perform transactions using the JTA API and the WebLogic JTA extensions.
You can configure any transaction attributes before running applications (static
configuration) or, with one exception, at application run time (dynamic configuration).
The
TransactionLogFilePrefix attribute must be set before running applications.
To configure transaction attributes, do the following: