Redsoft Factory Inc. (English site) has released Liberator EJB3 Persistence 1.1 and an open-source project ("Spring EJB3 DAOSupport) that allows immediate use of ejb3 persistence with popular Spring Framework.
Spring EJB3 DAOSupport is an extension to the current Spring DAO template. Even though this may not be the recommended way to use EJB3 persistence, the extension does work and has been put in production in three of our customer projects.
If you would like to use ejb3 persistence now with Spring, the Spring EJB3 DAOSupport project may help. A runnable sample has been provided in the project and you can try it out right away.
What do you think?
-
Use EJB3 Persistence with Spring (11 messages)
- Posted by: haibo huang
- Posted on: January 15 2006 22:08 EST
Threaded Messages (11)
- Why use EJB3 with Spring? by bruno chevalier on January 16 2006 07:56 EST
- well this will be in spring 2.0... by Leo de Blaauw on January 16 2006 08:36 EST
- coz we did need it by haibo huang on January 16 2006 08:43 EST
- OFFICIAL SPRING JPA SUPPORT IN SPRING by Regis LOWE on January 16 2006 09:44 EST
- good to hear by haibo huang on January 16 2006 09:54 EST
- good to hear by Regis LOWE on January 16 2006 10:00 EST
- good to hear by haibo huang on January 16 2006 09:54 EST
- Spring EJB3 Howto by Sebastian Beigel on January 17 2006 03:47 EST
- Spring EJB3 Howto by Juergen Hoeller on January 17 2006 16:27 EST
- No by Peng ChenYang on January 17 2006 20:55 EST
- No by Mauro Ramon on January 18 2006 05:20 EST
- Spring 1.3: A overview of the Persistence Features by moussaud benoit on January 18 2006 07:59 EST
- No by Mauro Ramon on January 18 2006 05:20 EST
-
Why use EJB3 with Spring?[ Go to top ]
- Posted by: bruno chevalier
- Posted on: January 16 2006 07:56 EST
- in response to haibo huang
Maybe in order to be independant from the app server?
I eagerly wait the EJB3 implementation from the 2 major app servers (Weblogic and Websphere). I would like to see if the EJB3 implementations are really plateform dependant. -
well this will be in spring 2.0...[ Go to top ]
- Posted by: Leo de Blaauw
- Posted on: January 16 2006 08:36 EST
- in response to haibo huang
Hi,
As far as I am aware this will be in spring 2.0 and actually should be found in the upcoming M2 release of 2.0
So bit confused as to why roll your own on this ?
Greetings
Leo -
coz we did need it[ Go to top ]
- Posted by: haibo huang
- Posted on: January 16 2006 08:43 EST
- in response to Leo de Blaauw
Hi,As far as I am aware this will be in spring 2.0 and actually should be found in the upcoming M2 release of 2.0So bit confused as to why roll your own on this ?GreetingsLeo
Simply because we needed this extension back in Sep. 2005 when Spring 2.0 was not yet available that moment. we don't release the project untill we do test it out in a few our projects in the past 5 monthes. -
OFFICIAL SPRING JPA SUPPORT IN SPRING[ Go to top ]
- Posted by: Regis LOWE
- Posted on: January 16 2006 09:44 EST
- in response to haibo huang
available in spring2.0-M2 (not yet released)
but snapshots available at:
http://www.springframework.org/snaphots
release annoucement:
http://cvs.sourceforge.net/viewcvs.py/springframework/spring/readme.txt?rev=1.74 -
good to hear[ Go to top ]
- Posted by: haibo huang
- Posted on: January 16 2006 09:54 EST
- in response to Regis LOWE
good to hear the spring 2.0 coming out. we may switch from our contingency project to the official one once it is out, which we required quite a while ago. :-) -
good to hear[ Go to top ]
- Posted by: Regis LOWE
- Posted on: January 16 2006 10:00 EST
- in response to haibo huang
JPA spec is not final, so I don't expect Spring JPA support going final before the spec. -
Spring EJB3 Howto[ Go to top ]
- Posted by: Sebastian Beigel
- Posted on: January 17 2006 03:47 EST
- in response to haibo huang
I put together a small tutorial describing how to use EJB3/JPA with Spring a while ago. If some one's interested:
http://www.jroller.com/page/sbeigel?entry=using_the_new_java_persistence
(In the article I'm using Spring 1.3RC1, it's now called 2.0M1 or whatever and the JPA stuff is moved to the sandbox! There are also new releases from Hibernate and Hibernate Annotations/Entity Manager.)
Sebastian -
Spring EJB3 Howto[ Go to top ]
- Posted by: Juergen Hoeller
- Posted on: January 17 2006 16:27 EST
- in response to Sebastian Beigel
I put together a small tutorial describing how to use EJB3/JPA with Spring a while ago. If some one's interested:http://www.jroller.com/page/sbeigel?entry=using_the_new_java_persistence(In the article I'm using Spring 1.3RC1, it's now called 2.0M1 or whatever and the JPA stuff is moved to the sandbox! There are also new releases from Hibernate and Hibernate Annotations/Entity Manager.)Sebastian
To clarify the situation here: Nightly snapshots called Spring 1.3 RC1 have only been available for a brief period of time, before we made the decision to go to 2.0 instead - with 2.0 M1 as next public release.
JPA support has been retracted from 2.0 M1 mainly for the reason that JPA still lacks API stability: We simply didn't have any official or semi-official JPA API jar to compile against. All the current JPA previews use custom API jars that differ in some details.
For the upcoming Spring 2.0 M2, we plan to ship our JPA data access support for the first time in an official release. We are using the JPA API classes from GlassFish milestone 4 now, corresponding to the JPA spec's Proposed Final Draft (published in late December).
Juergen -
No[ Go to top ]
- Posted by: Peng ChenYang
- Posted on: January 17 2006 20:55 EST
- in response to haibo huang
Spring how to implements Stateful Session Bean of EJB3 ? Spring only has singlton or pool, where the session? -
No[ Go to top ]
- Posted by: Mauro Ramon
- Posted on: January 18 2006 05:20 EST
- in response to Peng ChenYang
Why it seems to him that Spring would have to implement SFSB? -
Spring 1.3: A overview of the Persistence Features[ Go to top ]
- Posted by: moussaud benoit
- Posted on: January 18 2006 07:59 EST
- in response to Mauro Ramon
Few month ago, I found a PDF paper about a overwiew of the persistence in Spring 1.3.
Meanwhile Spring 1.3 became Spring 2.0.
Check this link:
http://jroller.com/page/bmoussaud?anchor=spring_1_3_a_overview