users@jta-spec.java.net

[jta-spec users] Re: discuss… JTA_SPEC-4 support explicit ordering of commits for XAResources enlisted in a transaction

From: Ian Robinson <ian_robinson_at_uk.ibm.com>
Date: Wed, 4 Sep 2013 11:28:41 +0100

Something that sets JTAJavaEE apart from the WS-* and CORBA transaction
specs is that we have an overall platform architecture that makes it a lot
easier to describe metadata in an application-specific context (rather
than having to encapsulate it at the level of a resource that may be used
in different ways by different applications). Resource ordering, for
example, is something WebSphere configures at the application-level
through extensions to the res-refs (one of the options Paul included
below). We found this preferable to configuring something directly on the
resource provider. I think this approach can probably be used for most if
not all transactional attributes that we might consider defining for
resources.

Regards,
Ian





From: Mark Little <mlittle_at_redhat.com>
To: users_at_jta-spec.java.net,
Date: 04/09/2013 08:43
Subject: [jta-spec users] Re: discuss… JTA_SPEC-4 support explicit
ordering of commits for XAResources enlisted in a transaction



It is definitely scope creep to address Jonathan's point so may eventually
have to end up in a separate JIRA. However, it's worth discussing here.
I'll mention that for BTP and WS-CAF, we allowed additional semantics to
be provided by the participant to the coordinator upon registration, such
as "if you don't hear from me by time T then I will have rolled back". Not
suggesting we follow 1:1 but there is a body of work that covers something
like this which others may find interesting for this discussion.

Mark.


On 3 Sep 2013, at 22:45, Paul Parkinson wrote:

Hello All,

We had some email discussion about this in the past as well but I think
the key points are captured in the JIRA
https://java.net/jira/browse/JTA_SPEC-4 and so I'm starting this clean
thread.

This is where I see we are now with open issues of functionality and
implementation…

Functionality: Ordering is the crux of the feature, however, the extent
and particulars of the ordering need to be determined and include:

- John Halliday's comment "At the risk of scope creep I'd welcome some
discussion of more general approaches to communicating resource semantics,
such that we can do variations on Last Resource Commit Optimization /
Logging Last Resource, parallel prepare, etc"
- Perhaps related to this point I think we need to spec out aspects such
as the precedence if more than one resource that is to be ordered first
(or last) is enlisted in a given transaction, etc.

Implementation: How the functionality is provided by the application
server and used by the application:

- XAResource extension
- Annotation
- resource-reference extension

Discuss… ;-)

Regards,
Paul

---
Mark Little
mlittle_at_redhat.com

JBoss, by Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons
(USA) and Brendan Lane (Ireland).





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU