[jboss-dev-forums] [JBoss Transactions Development] - Re: Implementing 1PC in WS-AT (WS-Atomic Transaction)

Chirag Rana do-not-reply at jboss.com
Sat Jun 29 00:51:42 EDT 2013


Chirag Rana [https://community.jboss.org/people/chiragr] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/825638#825638

--------------------------------------------------------------
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/ 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
[https://community.jboss.org/message/825638#825638]

Start a new discussion in JBoss Transactions Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130629/09574caf/attachment.html 


More information about the jboss-dev-forums mailing list