how can i control the 2PC of an Stateless EJB which is exposed as a web service?
In my scenario the client application sends a ws-at context to the webservice which enlists a Durable2PCParticipant and modifies data via an Entitymanager.
The question now is.. how can i associate the ejb transaction with the client transaction. If the clients invokes commit() on the arjuna UserTransaction my Participant is called. There must be a way that my participant obtains the transaction and calls the 2PC methods if required.
I hope someone can help me with that problem.