How well does JSFs work with other technologies such as Hibernate, Struts or Spring?
Joined: Aug 15, 2004
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 ]
Joined: Apr 03, 2002
Originally posted by Larry Nelson: How well does JSFs work with other technologies such as Hibernate, Struts or Spring?
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.