[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: Metadata Support for Transactional Web Services

jhalliday do-not-reply at jboss.com
Mon Aug 6 16:32:15 EDT 2007


Ahh, I think I see what you are getting at: using the annotations as a general purpose system for expressing the relationship between work and its compensation, regardless of the application framework (WS, EJB, ...) or even the transaction coordination protocol (WS-BA, ...)

Although the annotations are designed to work within the context of WS-BusinessActivity, the approach can certainly be generalised to any application where work may need to be undone. As long as you have some way to intercept the business method calls and a way of interacting with the transaction coordinator you should be fine. The annotations themselves should be suitable for more or less any compensation based protocol, although some variations may be needed here and there. Making the framework implementation truly pluggable in this way is outside the scope of the current effort, but it's certainly something worth looking at in the future.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071364#4071364

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071364



More information about the jboss-dev-forums mailing list