|
Java Platform, Enterprise Edition (Java EE) 8 The Java EE Tutorial |
| Previous | Next | Contents |
You can demarcate a transaction in a web component by using either the
java.sql.Connection or the javax.transaction.UserTransaction
interface. These are the same interfaces that a session bean with
bean-managed transactions can use. Transactions demarcated with the
UserTransaction interface are discussed in
JTA Transactions.
| Previous | Next | Contents |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.