Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 73494 invoked from network); 8 Jun 2004 19:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jun 2004 19:56:58 -0000 Received: (qmail 16582 invoked by uid 500); 8 Jun 2004 19:57:08 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 16463 invoked by uid 500); 8 Jun 2004 19:57:07 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 16450 invoked by uid 99); 8 Jun 2004 19:57:07 -0000 Received: from [212.227.126.173] (HELO moutng.kundenserver.de) (212.227.126.173) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 08 Jun 2004 12:57:07 -0700 Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BXmiE-0003uj-00 for commons-dev@jakarta.apache.org; Tue, 08 Jun 2004 21:56:46 +0200 Received: from [217.81.69.58] (helo=apache.org) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1BXmiD-0000ZU-00 for commons-dev@jakarta.apache.org; Tue, 08 Jun 2004 21:56:45 +0200 Message-ID: <40C619FB.6090309@apache.org> Date: Tue, 08 Jun 2004 21:56:43 +0200 From: Oliver Zeigermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: [Transaction]: Anyone intersted in contributing? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:1111c0dafcdbde51362bbaaba7a9393a X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Folks! I have just finished what might be called my "first sketch" of a transaction package. In order to make this a "real" project I need people who would like to contribute! It includes locks, transactional maps (both pessimistic and optimistic) and a file section including a transactional wrapper to the file system and a fail safe persistent file sequence. What may be missing are preference locks, more map wrapper implementations with other strategies/isolation levels, a deadlock detection for the locking, etc. The motivation for the move to start this package was to make code from the Slide project more genrally available. On one side others may find it useful and on the other side maybe someone else would like to contribute. I am for sure not "mister transaction", so what can be found there merely is a starting point. I am sure there must be lots of people doing better than / different from what I have done! Maybe this just isn't interesting? I disagree! Possible use cases range from transactional maps / caches in J2EE environment (there already is a tiny bit of (bad) code that plugs the map into a XA transaction using JCA and even a full configuration for JBoss) to your everyday work. Imagine a Swing client application where you do complex stuff (maybe talking to one or more servers) and the user is allowed to cancel the whole operation. Or it might be needed to be canceled because of errors. Now image all the results have been stored in a transactional map, you simple do a rollback on errors and a commit upon success. It will even be possible to have as much threads as you like to work on that map each of them totally unaware of the other (at least until a commit). OK, this was long! Sorry for that... So, anyone? Cheers, Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org