How to propagate a client-side UserTransaction into a stateless session bean using BMT

半世苍凉 提交于 2019-12-02 05:26:32
Gabriel Aramburu

BMT beans cannot participate in an existing transaction

From EJB 3.1 spec.:

13.6.1 Bean-Managed Transaction Demarcation

The container must manage client invocations to an enterprise bean instance with bean-managed transaction demarcation as follows. When a client invokes a business method via one of the enterprise bean’s client views, the container suspends any transaction that may be associated with the client request....

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!