Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What are Spring alternatives when working with hibernate?

 
M Marin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently working on a project based on hibernatge, spring and JSF. We are going to start a new project and the question is how to do the same without Spring.
I still want Hibernate/JPA, JSF and Dependency Injection, but I find Spring just unclear with releases and support.
Does anyone use a differendt approach in O/R Mapping with JPA and DI which is reliabale and does not use Spring?

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate - you can use Hibernate without Spring. We are doing that on this site. Instead we have a filter to implement the Open Session in View pattern.

JSF - There are many implementations of JSF; no reason you have to use the Spring one.

Dependency Injection - Google Guice (or better is JEE 6 if your app server supports) would take care of DI.

The big warning is that now you have even more release cycles to contend with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic