aspose file tools*
The moose likes Object Relational Mapping and the fly likes What are Spring alternatives when working with hibernate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "What are Spring alternatives when working with hibernate?" Watch "What are Spring alternatives when working with hibernate?" New topic
Author

What are Spring alternatives when working with hibernate?

M Marin
Ranch Hand

Joined: Feb 20, 2010
Posts: 32
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are Spring alternatives when working with hibernate?