Discussions

News: Use EJB3 Persistence with Spring

  1. Use EJB3 Persistence with Spring (11 messages)

    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?

    Threaded Messages (11)

  2. Why use EJB3 with Spring?[ Go to top ]

    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.
  3. well this will be in spring 2.0...[ Go to top ]

    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
  4. coz we did need it[ Go to top ]

    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.
  5. OFFICIAL SPRING JPA SUPPORT IN SPRING[ Go to top ]

    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
  6. good to hear[ Go to top ]

    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. :-)
  7. good to hear[ Go to top ]

    JPA spec is not final, so I don't expect Spring JPA support going final before the spec.
  8. Spring EJB3 Howto[ Go to top ]

    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
  9. Spring EJB3 Howto[ Go to top ]

    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
  10. No[ Go to top ]

    Spring how to implements Stateful Session Bean of EJB3 ? Spring only has singlton or pool, where the session?
  11. No[ Go to top ]

    Why it seems to him that Spring would have to implement SFSB?
  12. 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