aspose file tools*
The moose likes JSF and the fly likes jsf hibernate integration example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf hibernate integration example" Watch "jsf hibernate integration example" New topic
Author

jsf hibernate integration example

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
Hi All,

I have seen a lot of examples showing the integration between jsf-spring-hibernate but the question : Is it possible to use only jsf with hibernate without spring
if yes could you provide a small example showing that .
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Yes you can use hibernate without Spring.

However, it's a lot less fun. Spring automatically handles a lot of grunt work for you, including making sure that things are cleaned up properly. It helps with transaction control and normalizes error exceptions. Plus it makes code reuse and testing easier, since you can wire in alternate modules without having to change program code.

The core Spring and even Spring/JPA aren't that resource hungry, and they offer a lot for what they demand of you.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
jQuery in Action, 2nd edition
 
subject: jsf hibernate integration example