cancel
Showing results for 
Search instead for 
Did you mean: 

Transactions management

luuzz
Champ in-the-making
Champ in-the-making
Hello,
Does web service api now support transactions ?
because i have an application with its own database and i need to access alfresco repository in a classic transactional way .
Thank you
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
I think the simplest answer is no alfresco does not support distributed transactions for any of its remote interfaces.

If you are running Alfresco on a J2EE AS you should be able to re-plumb of the spring configuration to use XA drivers and JTA but you would be way out on the bleeding edge.  And then SOAP and transactions are another can of worms.   I'm sure its possible but suspect it won't be easy or quick.

guypardon
Champ in-the-making
Champ in-the-making
Hi,

You can try http://www.atomikos.com - it supports all of what you are looking for I think (and more).

Best
Guy

luuzz
Champ in-the-making
Champ in-the-making
Hello,
Thank you for the answers.
It seems that rmi jcr has the notion of transaction. Even if the jcr transaction  may not be pluggable into a database one i should be able to commit or roll back a transaction manually by catching exceptions.
What do you think ?

mrogers
Star Contributor
Star Contributor
Yes using RMI will remove one "cans of worms".

You are still, I think, heading for some hard times.   Do you really need to add the complexity of distributed transactions?   Most systems can manage just fine without them.

luuzz
Champ in-the-making
Champ in-the-making
In my situation, i have some data in my own database and others in the alfresco repository.
So i think i have no choice.
What do you think ?