wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf hibernate integration example" Watch "jsf hibernate integration example" New topic

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: 15960

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.
Consider Paul's rocket mass heater.
subject: jsf hibernate integration example
Similar Threads
Book or good link for Spring and Hibernate
What Is the Next Marketable Technology To Learn
Spring vs JSF
Books on JSf and Spring integration.
Which technology is best to study in parallel