when i did it (combine JSF spring & HIbernate), it was about spring last year..
i was using a sourceforge project called jsf-spring .. not sure what is status now but
you might want to check it out
hth
marco
On 10/12/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
Hi Mosimann,
Between JSF and Hibernate, Spring fits very well because it has features both for jsf and hibernate.
Using Spring's delegating variable resolver, Spring beans can be injected to the JSF managed beans.
Also with the HibernateTemplate of spring, and Aspect oriented transaction services plus OpenSessionInViewFilter, hibernate is managed well.
CagatayOn 10/12/06, Mosimann Matthias <[EMAIL PROTECTED]> wrote:Hi JulianWell in the presentation layer you have the jsp's and the backing beans. In the domain layer you have hibernate resp. the persitence classes. And between them you have this shale-like framework. Do I understand that right?regardsMatthias
Von: Julian Ray [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 12. Oktober 2006 14:24
An: 'MyFaces Discussion'
Betreff: RE: Combine Hibernate and JSF, but how?We use Hibernate and JSF but don't use Spring. We use a Shale-like framework where each JSF view has a single backing bean which is Hibernate-session-aware. Works great.
From: Mosimann Matthias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2006 8:14 AM
To: MyFaces Discussion
Subject: Combine Hibernate and JSF, but how?Hi everyoneI'm wonder if it is neccesary to use Spring Framework to combine Hibernate and JSF. What is you experience in that topic? I can imagine that many people use Hibernate as o/r mapper. Where can I finde some resources (articles or books) for a strategy or overview howto combine plain Hibernate with plain JSF for a three layer architecture. I know theoretically it is possibly to write some business logic in den managed beans from JSF. This is the form centric approach Kito Mann discripes in his book JSF in Action. But that isn't what I want. I'm a beginner in both topics (hibernate and jsf) and for me it's no clear how this fit together. Is it recommended to use Spring to stick this two worlds togehter? Is that a good way to use Spring?Many thanks, I'm a little bit confused.regardsMatthias