Reputation: 527
I am working on migrating ejb application from traditional websphere 9 to liberty.
My application source code uses remote transaction propogation. Is remote transaction propogation supported in websphere liberty? Any workarounds?
Upvotes: 0
Views: 629
Reputation: 18030
No, Liberty doesn't support transaction propagation. Check this page - Using enterprise JavaBeans with remote interfaces on Liberty.
Liberty does not support outbound or inbound transaction propagation... The client can start the EJB if the EJB is changed to use the
RequiresNew
orNotSupported
transaction attributes. However, the transactional work that is done by the EJB is not committed as part of the transactions of the client.
So my typical recommendations for such case are:
Required
to RequiresNew
or NotSupported
, without impacting application logicUpvotes: 1