Hello all,
I wanted to try RMI access to alfresco, I configured NodeService, PersonService etc as RemoteServices, made a spring clinet and it really works! (though I had to make some Alfresco classes serializable).
Now I wander if I could execute few service calls within transaction? Calling TransactionService remotely or and using RetryingTransactionCallback throws serilization excpetions:
Caused by: java.io.NotSerializableException: org.alfresco.repo.transaction.RetryingTransactionHelper.
Implementing serializable to transaction classes does not look feasible to me.
Has anybody got any suggestion or idea how to use transactions with RMI?
Being Java veteran, I find webscript services really awkward to develop and use. Calling remote services with RMI is like a breeze, and I don't want to go back. I'd appreciate any suggestion regarding RMI, transactions and alfresco.
Thank you very much!