|
Download
FAQ History |
|
API
Search Feedback |
Transactions in Web Components
You can demarcate a transaction in a Web component by using either the
java.sql.Connectionorjavax.transaction.UserTransactioninterface. These are the same interfaces that a session bean with bean-managed transactions can use. Transactions demarcated with theConnectioninterface are discussed in the section JDBC Transactions, and those with theUserTransactioninterface are discussed in the section JTA Transactions. For an example of a Web component using transactions, see Accessing Databases.
|
Download
FAQ History |
|
API
Search Feedback |
All of the material in The J2EE(TM) 1.4 Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.