This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf hibernate integration example

 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18302
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic