JBoss Community

Re: Implementing 1PC in WS-AT (WS-Atomic Transaction)

created by Chirag Rana in JBoss Transactions Development - View the full discussion

Hello Mark,

 

Thanks for the information.

 

I am thinking if we can write an interface similar to Durable2PCParticipant which can be called 1PCParticipant. This new interface will extend the interface Participant.

 

I configured ws-at simple example from jboss quickstarts (http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/wsat-simple/) in eclipse and JBoss AS 7.1.

 

Refering to this example, there is a RestaurantParticipant which implements Durable2PCParticipant. If  we can make RestaurantParticipant implement 1PCParticipant and just leave the prepare() empty or don't call prepare() then we can avoid the 1st phase of the 2PC. This is just my thought for now and I would appreciate if you can advice me on this. If we can do something like this then it would be a great contribution to the JBoss community and webservice transaction world.

 

Thanks & Regards,

Chirag Rana.

Reply to this message by going to Community

Start a new discussion in JBoss Transactions Development at Community