• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsf hibernate integration example

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic