What transaction attributes do Enterprise JavaBea# Java - 爪哇娇娃
w*k
1 楼
A container supports the following values for the transaction attribute of an
Enterprise JavaBean.
TX_NOT_SUPPORTED
The bean runs outside the context of a transaction. Existing
transactions are suspended for the duration of method calls.
TX_BEAN_MANAGED
The bean demarks its own transactions boundaries through the JTA
UserTransaction interface.
TX_REQUIRED
Method calls require a transaction context. If one exists, it will be
used; if non
Enterprise JavaBean.
TX_NOT_SUPPORTED
The bean runs outside the context of a transaction. Existing
transactions are suspended for the duration of method calls.
TX_BEAN_MANAGED
The bean demarks its own transactions boundaries through the JTA
UserTransaction interface.
TX_REQUIRED
Method calls require a transaction context. If one exists, it will be
used; if non