Closed bjhargrave closed 15 years ago
Comment author: Pavlin Dobrev <p.dobrev@prosyst.com>
The MEG has created a number of services that have transactional needs but without implementing real transaction model. EEG also will need transaction behavior for its services. This RFC proposes to centralize the necessary signaling of transaction. The RFC argues for a limited transaction model that supports the use cases of an embedded and constrained environment. This implies no explicit crash recovery and a smaller API then the Java Transaction API
This RFC introduces the transaction concepts and outlines the different trade-offs that need to be made in the API.
Requirements Provide a comprehensive model that allows components in an OSGi Service Platform to perform their actions in a transaction way.
Comment author: @bjhargrave
CPEG call: Please review for discussion in next meeting.
Comment author: @bjhargrave
CPEG call: Need simple mapping to existing transaction managers (written for JTA) and also JTA api. A section needs to be added to the RFC to discuss this.
Any use of transactions by the framework (as suggested in RFP 44) to manage sets of bundle lifecycle operations must be in a separate RFC.
Comment author: @bjhargrave
CPEG call: Discussed the crash recovery issue.
One solution is to make crash recovery an optional feature
More discussion will be held at the f2f.
Comment author: @tjwatson
Has commons transactions from apache been looked at? http://commons.apache.org/transaction/
Would this API be more acceptable for J2ME than JTA?
Comment author: Roman Roelofsen <r.roelofsen@prosyst.com>
Has commons transactions from apache been looked at? http://commons.apache.org/transaction/
Would this API be more acceptable for J2ME than JTA?
It seems that the new version 2.0 is based on Java5 features e.g.
and therefore not usable in current JavaME VMs.
Or do you suggest to use version 1.x?
Comment author: @tjwatson
I noticed the 1.x version was compatible with JDK 1.2. But it looks like they overhauled the API in 2.0 to be more general. The 1.x version of the api looks like it is specific to transactional file systems and transactional collections. It may not be sufficient to for our needs.
Comment author: @bjhargrave
CPEG mtg: RFC 98 is being handled by EEG.
Original bug ID: BZ#577 From: Pavlin Dobrev <p.dobrev@prosyst.com> Reported version: R4 V4.2