wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF with other technologies, Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF with other technologies, Hibernate" Watch "JSF with other technologies, Hibernate" New topic
Author

JSF with other technologies, Hibernate

Larry Nelson
Greenhorn

Joined: May 06, 2006
Posts: 2
How well does JSFs work with other technologies such as Hibernate, Struts or Spring?
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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 ]
Fintan Conway
Ranch Hand

Joined: Apr 03, 2002
Posts: 141
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF with other technologies, Hibernate
 
Similar Threads
framework for session handling
Why EJB 3, vs Hibernate, etc.
new open source J2EE technologies
who's waiting for ejb 3?
EJB 3.0 and Hibernate