You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Rob Tomlin <ro...@mekon.com> on 2003/07/01 12:26:25 UTC

RE: Transactions in Slide?

http://marc.theaimsgroup.com/?l=slide-dev&m=105698978309612&w=2

This was posted to the Slide Developers list yesterday. It appears
to take a different approach in that it allows an alternative
TM to be used for Slide (correct me if I'm wrong...)

A snip from the post:

========================================================================
Summary:
This patch introduces an new namespace definition parameter which allows 
you to define an alternate Transaction manager from either a Class or a 
JNDI lookup.
========================================================================

HTH

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Transactions in Slide?

Posted by Grant Gongaware <gg...@itensil.com>.
Here's an archive of just the new and changed files with the package 
hierarchy intact. This is probably easier than messing with the diff patch.

I apologize for Gzip, but a zip/jar was too large to send to the mailing list.

-Grant




Re: Transactions in Slide?

Posted by Grant Gongaware <gg...@itensil.com>.
Rob,

You are correct.

I think Willie Vu was on a similar track: giving the transaction control 
to the J2EE container.

I've tested this patch with the JBoss transaction manager inside and 
outside existing transactions (both EJB calls to the SlideAPI and the 
standard webdav servlet) and also with the built-in transaction manager. 
Everything seems stable so far (3 days under moderate load). My 
recommendation for using this patch with EJB and the SlideAPI is to 
setForceStoreEnlistment(true) for your SlideToken. That way all calls 
including reads are in the same EJB transaction.

I hope other Slide users can use this patch and post any successes, 
problems or fixes, and get it all more ready for a Slide commiter.

-Grant

Rob Tomlin wrote:

>http://marc.theaimsgroup.com/?l=slide-dev&m=105698978309612&w=2
>
>This was posted to the Slide Developers list yesterday. It appears
>to take a different approach in that it allows an alternative
>TM to be used for Slide (correct me if I'm wrong...)
>
>A snip from the post:
>
>========================================================================
>Summary:
>This patch introduces an new namespace definition parameter which allows 
>you to define an alternate Transaction manager from either a Class or a 
>JNDI lookup.
>========================================================================
>
>HTH
>
>Rob
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org