I want to use file-level transactions with WCK, and jakarta-commons transaction package seems like obvious choice. I have few questions;

1. Should transaction be created on request level, is it safe for concurrency e.g.
in WebDavStore.begin() I have
FileResourceManager manager= new FileResourceManager(....)
and in WebdavStore.commit() I have
manager.commitTransaction(...);


Or manager instance should be somewhere else, on application level?

2. there is FileResourceManager.createResource() and deleteResource() methods.
How do I rename/move? FileResourceManager documentation mentions that it renames/moves files. There is no any "rename" or "move" methods.


3. Can't find any single example on the web how to use commons-transaction.

4. Is there any alternatives? e.g. Resource transaction APIs that may be used with Slide/WCK?

Thank you!


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to