The implementation is available via svn:
There is also a write up on the JBoss wiki: entitled Transactional support for JAX RS based applications.
We don't have an implementation of the simpler forward based compensation approach but there is a description of the protocol entitled Compensating RESTful Transactions
I would be keen to know your thoughts on our approach. Thanks.
Michel, thank you very much for the quick answer! We are interested in Rest and transactions so we are very keen on having a try and testing it. Is there an api we can download or just the source from the svn? are there any docs que can use? do I have to use it with JBoss or can use it in a stand alone mode?
mmmm... sorry for the hurricane of questions
1 of 1 people found this helpful
The implementation only needs a transaction manager and a JAX-RS implementation which are both available standalone. The maven pom will download them when you run mvn install. There are some junit tests that use jetty to run the JAX-RS implementation.
There are some docs in the docs directory of the download.
There are two components to the API. One for resource providers and one for clients:
- the urls are described in the docs or in the JAX-RS annotations in the code
- the provider urls are documented in the @Path annotations of the example provider (org.jboss.jbossts.rts.example.Participant)
- the client urls are documented in the @Path annotations of the coordinator implementation (org.jboss.jbossts.rts.service.Coordinator)
There are a number of examples (in the tests and in the demo) written in Java and Perl
Michel, thank you very much for evertything! I give it a try and then if you want, send some comments about the tests