I have a Stateless Session Bean that needs to manipulate files on the local file system. Now I wonder if it is possible that this bean participates in a container managed transaction?
Basically this means I would like to be notified about each phase of the two-phase commit process. Is this possible?
Thanks in advance,
Stateful session beans can implement javax.ejb.SessionSynchronization. More generally a jca resource adaptor is required.