...了简化这个实现,我们假定会话 bean、容器管理的实体 bean(CMP)和 MDB 都归为容器管理的事务(Container-managed transaction,CMT)。它们的事务属性被设置为 Required,这意味着容器必须在事务上下文中调用方法。
基于8个网页-相关网页
漫游 Web 服务原子事务操作 CommitTransaction Return 虽然另一个指定所需事务的方法是使用 J2EE 的容器管理事务(Container Managed Transactions,CMT),但是现在我们使用了清单 1 中的代码,因为它清楚且容易匹配 Waldo 的简单事务。使用 J2EE
基于1个网页-相关网页
The most common container-managed transaction attribute is Required.
最常用的容器管理的事务属性是Required。
For all the transactional RPCs, you can use either container-managed transaction demarcation or component-managed transaction demarcation.
对于所有事务的RPC,您可以使用容器管理的事务划分或者组件管理的事务划分。
This means that you can perform the send and receive as part of the same transactional unit of work without resorting to a bean- or container-managed transaction.
这意味着可以在同一个事务工作单元中进行发送和接收,而无需借助于 bean 或者容器管理的事务。
应用推荐