[cdi-dev] Transaction Scope for CDI
reza_rahman at lycos.com
Tue May 22 20:19:36 EDT 2012
The most important/practical reason this should probably be in CDI is that most JTA experts are probably not the right people to grok/implement this, whereas most CDI experts probably know enough about JTA to implement it (not to mention the fact that a JTA version is likely not forthcoming soon/easily).
The reason to standardize it would be that software that depend on this scope (such as the JMS context concept in JMS 2) can simply rely on the fact that it will be in the standard runtime instead of having to pack it themselves.
From: Lincoln Baxter [mailto:lbaxter at redhat.com]
Sent: Tuesday, May 22, 2012 8:05 PM
To: Reza Rahman
Cc: cdi-dev at lists.jboss.org
Subject: Re: [cdi-dev] Transaction Scope for CDI
Is CDI really the right place for this Annotation?
It sounds like this has behavior specific to JTA, which leads me to think that it should be added in the JTA spec, not the CDI spec. What needs to change in the core CDI behavior to make this possible, if anything? If this can be achieved with existing SPIs, then I don't see why CDI would need to change at all to support this.
From: "Reza Rahman" <reza_rahman at lycos.com>
To: cdi-dev at lists.jboss.org
Sent: Tuesday, May 22, 2012 7:28:13 PM
Subject: [cdi-dev] Transaction Scope for CDI
Pete, I and Nigel (JMS 2 spec lead) have been discussing the issue of the transaction scope behind the scenes the past few weeks. Attached is what we came up with and feel it meets the various related use-cases the most effectively. The downside is that it is quite involved (conceptually) and might take a bit of patience to absorb. Please give it a read and let me know your thoughts.
cdi-dev mailing list
cdi-dev at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cdi-dev