June 2004
Intermediate to advanced
1568 pages
30h 33m
English
You can demarcate a transaction in a Web component by using either the java.sql.Connection or javax.transaction.UserTransaction interface. These are the same interfaces that a session bean with bean-managed transactions can use. Transactions demarcated with the Connection interface are discussed in the section JDBC Transactions (page 1058), and those with the UserTransaction interface are discussed in the section JTA Transactions (page 1063). For an example of a Web component using transactions, see Accessing Databases (page 446).
Read now
Unlock full access