Re: [Beankeeper-discussion] managed transactions + persistence
Brought to you by:
demonsystem
From: Brautigam R. <de...@ne...> - 2009-02-07 09:53:12
|
Frank Weber írta: > Hi, > > Coming from Java EE background I would prefer to use managed > transactions + persistence (i.e. via Spring/hibernate). I am trying > to understand how best to handle persistence with beankeeper. I > browsed through the documentation, but I am not that clear. Looks like > I am to follow the unmanaged route, or? BeanKeeper offers a very simple and clear transaction model for itself. What we plan is to have different plugins (or bindings) into other software that uses some other API for transaction management, for example JTA, Spring, etc. So BeanKeeper does not have any bindings yet out-of-the-box, but you don't have to use unmanaged transaction either. You just create a binding for the specific container you are trying to use, like Spring. There were already projects, where BeanKeeper was used with AOP only (with a @Tx annotation on methods) for example. > Thanks for your help. > Frank Robert. |