Atomikos Forum

Greenfield app:  which jars required?

Hi all,

I'm working on a brand new app, and am wondering which artifacts I should use for the latest version (3.7.0); it looks like transactions-essentials-all no longer exists.  See below for what I'm currently using.  Questions:

1. Why would I want to include transactions-jdbc-deprecated & transactions-jms-deprecated?

2. Is transactions-osgi required in non-OSGi environments?

3. What does transactions-osgi get me in OSGi environments (where I intend to use Atomikos)?

Thanks,
Matthew

<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>atomikos-util</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-api</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-jdbc-deprecated</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-jdbc</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-jms-deprecated</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-jms</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-jta</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-hibernate3</artifactId>
    <version>3.7.0</version>
</dependency>
<dependency>
    <groupId>com.atomikos</groupId>
    <artifactId>transactions-osgi</artifactId>
    <version>3.7.0</version>
</dependency>
Matthew Adams Send private email
Friday, October 28, 2011
 
 
Hi,

You can/should use transactions-osgi.jar, giving you:

-JDBC
-JMS
-JTA

But not:

Hibernate (include those separately)

As for the deprecated jdbc/jms - never mind for new apps.

HTH
Guy Pardon Send private email
Saturday, October 29, 2011
 
 
Actually transactions-osgi 3.7.0 do not export any from JDBC nor JMS packages.

It exports only a services - UserTransaction and TransactionManager. It would be nice to put at least one property to these services - service.vendor set to Atomikos.

Also the rest of the modules do not have proper manifests. Fo these who wish to get it running uder OSGi I recommend to stay with 3.6.4 (which provides OSGi manifest for all modules). Then you will need to initialize your TransactionManager and UserTransaction manualy, but it will work.
Lukasz Dywicki Send private email
Friday, December 09, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics