File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: jsf hibernate integration example
jQuery in Action, 3rd edition