• 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 with other technologies, Hibernate

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How well does JSFs work with other technologies such as Hibernate, Struts or Spring?
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are many tutorials discussing Struts and JSF integration.
Spring has a seperate library to integrate with JSF.

Hibernate doesn't come into play because its a ORM Tool and JSF is a web framework. Yes if you ask how Hibernate works with Spring then it would be more rational.

[Edited]
JSF doesn't facilitate or help Hibernate.
[ September 12, 2006: Message edited by: Adeel Ansari ]
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Larry Nelson:
How well does JSFs work with other technologies such as Hibernate, Struts or Spring?



Hi Larry,

Struts is the web application framework that came before JSF. The authors of the JSF spec recommend that if you are starting a new project you should prefer JSF over Struts. There is a Struts-JSF bridge, if you need to use JSF with an existing Struts application.

Plenty of people are using Spring with JSF applications without any bother.

Since the backing beans which hold the data from your JSF pages are POJOs, you can also use the same beans for an ORM implementation (JDO or Hibernate). This I think is the great advantage of using JSF - you can use one business java class, and have JSF display it on the front-end and then use JDO to persist it to the back end.

Regards,

Fintan
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic