[jboss-dev-forums] [JBoss Transactions Development] - Re: JTA 1.2 Implementation Work

Pete Muir do-not-reply at jboss.com
Wed May 8 06:47:41 EDT 2013


Pete Muir [https://community.jboss.org/people/pmuir] created the discussion

"Re: JTA 1.2 Implementation Work"

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

--------------------------------------------------------------
You should implement the context from scratch. 

Weld has a clearly (and carefully) defined split between API/SPI and impl. If a class is in the weld-api or weld-spi, you can be sure that we follow the rules around deprecation and api stability, and do not change these apis from one micro release to another, and deprecate between minors etc. If it's in weld-impl, you can expect it to change without warning or recourse!

You should be implementing AlterableContext as you are targeting CDI 1.1. This gives you a destroy callback, which may be useful for cleanup.

Ask Stuart Douglas about activation.

I would write @Transactional from scratch.

Use @Priority to activate by default. The JTA spec should tell you what value to use.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816719#816719]

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/20130508/e17a62e6/attachment.html 


More information about the jboss-dev-forums mailing list