[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-development
Subject:    Re: Spring transaction integration
From:       "Mohammad Nour El-Din" <nour.mohammad () gmail ! com>
Date:       2008-08-24 7:42:27
Message-ID: f321b69f0808240042q34dfc991l6e89970c68f46037 () mail ! gmail ! com
[Download RAW message or body]

Gr8 as always Dain ;)

On Sat, Aug 23, 2008 at 1:47 AM, Dain Sundstrom <dain@iq80.com> wrote:
> I've been looking at integrating with Spring's PlatformTransactionManager
> (PTM) when embedded in Spring.  Specifically, I'd like to use the PTM
> instead of a JTA TransactionManager in the EJB containers.  After a lot of
> digging and hacking, I think we can abstract away direct JTA
> TransactionManager usage from the containers without out too much work.
>  Currently, OpenEJB uses the TransactionPolicy abstraction to handle
> container and bean managed transactions.  This abstraction is very similar
> to the Spring TransactionStatus abstraction, so I think I this will be the
> key place to slip-in Spring.  My general idea is to expand the current
> TransactionPolicy interface to include a few extra methods that the
> container need (e.g., registerSynchronization, get/putResource) so they no
> longer use a JTA TransactionManager directly.  Then I'll add a factory, so
> the TransactionPolicy can be replaced with a Spring based implementation.
>  Well that's the plan at least, we'll see how it works out :)
>
>
> -dain
>



-- 
Thanks
- Mohammad Nour
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic