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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 15661
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf hibernate integration example
 
Similar Threads
Books on JSf and Spring integration.
Book or good link for Spring and Hibernate
Which technology is best to study in parallel
What Is the Next Marketable Technology To Learn
Spring vs JSF