I used to know that there is a matter of things, it is probably used, and there is no complex in-depth. Nothing today, a rough research. Simple transactions can be operated directly with Connection, and some can be operated with the useertransaction interface. Basic usage is the same transaction.begin (); transaction.Commit (); transaction.rollback (); if you handle things between 2 different databases, you need to use Xa Driver, and the data source is TX Datasourse. Use the UserTransaction interface at the client. The platform I tried is WebLogic8.1 SQLServer2000 (MS JDBC) because there is no 2 machines, so I have established 2 databases on SQL Server to test, and the result is still quite satisfactory.