• 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
Sheriff
Posts: 36032
432
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!