[cdi-dev] Transaction Scope for CDI

Reza Rahman 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.

~Lincoln

  _____  

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




CDI enthusiasts,

 

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.

 

Cheers,

Reza


_______________________________________________
cdi-dev mailing list
cdi-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20120522/1a551a55/attachment.html 


More information about the cdi-dev mailing list