Hi

The page about Aries Transactions sends the visitor to the OSGi specification. Do you plan to write a short manual/quick-start fr this module?

Best regards
Krzysztof

On 19.07.2013 10:08, Timothy Ward wrote:
Hi Philipp,

Declarative Services is designed to be an ultra-lightweight injection runtime, and so it doesn't include the proxying/interception capabilities necessary to support Declarative Qualities of Service like transactions. This is one of the primary drivers for choosing blueprint over DS.

There are annotations for managing transactions in Aries blueprint. These are contained in the latest (1.0.1) release of org.apache.aries.transaction.blueprint.

You can enable annotation support with the following:

<blueprint  xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
             xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.2.0";>

     <tx:enable-annotations/>
        
        <bean id="top" class="org.apache.aries.transaction.pojo.AnnotatedPojo"/>
</blueprint>
I hope this helps!

Tim Ward
-------------------
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http://www.manning.com/cummins)
-------------------


------------------------------------------------------------------------
Date: Thu, 18 Jul 2013 23:00:37 +0200
Subject: Aries JTA, JPA, and SCR
From: smi...@googlemail.com
To: user@aries.apache.org

Hi,

I have a question related to JTA (in JPA) context and SCR:

Is it possible to use the container managed transactions also with SCR/DS? Or is this only possible via Blueprint?

Furthermore is there any Annotation support for the managing transactions or must this be done via the Blueprint XML?

Cheers
Philipp


--
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
e-mail: krzys.sobkow...@gmail.com <mailto:krzys.sobkow...@gmail.com> | Twitter: @KSobkowiak

Reply via email to