tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: Spring Embedded OpenEJB
Date Tue, 21 Apr 2009 03:12:10 GMT
On Apr 16, 2009, at 9:54 AM, Sérgio Correia wrote:

> Hello,
>
> I’m using Spring Embedded OpenEJB as an execution environment for EJB
> integration tests.
>
>
>
> Is it possible to use other transaction manager than
> “org.apache.geronimo.transaction.manager.GeronimoTransactionManager”  
> that is
> mentioned in the documentation?

Hi Sérgio,

I looked around and it appears if you declare a bean in your spring  
xml that is of type javax.transaction.TransactionManager, it should  
automatically get picked up and used.

This spring xml used in a test case might be better "documentation" :

   http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1/container/openejb-spring/src/test/resources/org/apache/openejb/spring/spring.xml

Definitely let us know if it doesn't work.

-David


Mime
View raw message