You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Cyrille (JIRA)" <ji...@apache.org> on 2006/12/18 14:55:24 UTC

[jira] Created: (TRANSACTION-13) JTA Compliant

JTA Compliant
-------------

                 Key: TRANSACTION-13
                 URL: http://issues.apache.org/jira/browse/TRANSACTION-13
             Project: Commons Transaction
          Issue Type: New Feature
            Reporter: Cyrille


Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
It would be great to get it.

For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
1) writing metadata in database (title,description...),
2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (TRANSACTION-13) JTA Compliant

Posted by "Jörg Heinicke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TRANSACTION-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörg Heinicke updated TRANSACTION-13:
-------------------------------------

    Fix Version/s:     (was: 1.3)
                   2.0

> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: https://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>         Assigned To: Jörg Heinicke
>             Fix For: 2.0
>
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (TRANSACTION-13) JTA Compliant

Posted by "Oliver Zeigermann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRANSACTION-13?page=comments#action_12459336 ] 
            
Oliver Zeigermann commented on TRANSACTION-13:
----------------------------------------------

There are no such plans, but commons tx could serve as a basis for such an implementation

> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: http://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (TRANSACTION-13) JTA Compliant

Posted by "Cyrille (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRANSACTION-13?page=comments#action_12461493 ] 
            
Cyrille commented on TRANSACTION-13:
------------------------------------

there is a discussion about that subject at forum.springframework.org

http://forum.springframework.org/showthread.php?t=32704

Thanks to Jörg !
Happy new year !

> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: http://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>         Assigned To: Jörg Heinicke
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (TRANSACTION-13) JTA Compliant

Posted by "Cyrille (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRANSACTION-13?page=comments#action_12459345 ] 
            
Cyrille commented on TRANSACTION-13:
------------------------------------

I think it is a must have feature, because nowdays Transactions are easilly integrated in a application (Spring, AppServer).
Do you know about that work ? Is it a difficult task ? I'm beginner with Java, so I'm afraid to tackle that subject.

Do you know some project about File Transaction and JTA ?




> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: http://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (TRANSACTION-13) JTA Compliant

Posted by "Jörg Heinicke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TRANSACTION-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörg Heinicke updated TRANSACTION-13:
-------------------------------------

    Fix Version/s: 1.3

> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: https://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>         Assigned To: Jörg Heinicke
>             Fix For: 1.3
>
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (TRANSACTION-13) JTA Compliant

Posted by "Oliver Zeigermann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TRANSACTION-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516171 ] 

Oliver Zeigermann commented on TRANSACTION-13:
----------------------------------------------

With the new 2.0 version a JTA impelmentation should be a pretty easy thing to do. Except for one thing: an XA reaource (required for that implementation) needs to be able to start its work with one thread and continue with another one. However, this is incompatible with the new implementation of the lock manager. This new implementation is based on Java 1.5 locks which do not support transfer of ownership to other thread.

The lock manager is fully configurable, so maybe a different implementation would do. Options you be to extend Java 1.5 locks or to fall back the 1.x read/write-lock implementation.

> JTA Compliant
> -------------
>
>                 Key: TRANSACTION-13
>                 URL: https://issues.apache.org/jira/browse/TRANSACTION-13
>             Project: Commons Transaction
>          Issue Type: New Feature
>            Reporter: Cyrille
>            Assignee: Jörg Heinicke
>             Fix For: 2.0
>
>
> Is there a plan to make Commons-Transaction compliant with JTA (Java Transaction API) ?
> It would be great to get it.
> For exemple, in case of a web file upload, we could make one transaction for tose 2 operations :
> 1) writing metadata in database (title,description...),
> 2) writing the file on the filesystem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org