myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <maili...@matthias-wessendorf.de>
Subject Design question for integrating Hibernate and JSF(MyFaces)
Date Mon, 07 Mar 2005 19:34:23 GMT
Hi,

I just started on looking at Hibernate and I want to
use Hibernate from backing beans of my MyFaces application.

I'd like to introduce the Hibernate "Session" for the *whole*
application.

I'd like to create a managed bean (application scope) that uses
Hibernate's SessionFactory for creating/getting a Session.

Or is it better to use ContextListner?

I guess backing/managed bean should be a good thing for
that... but not really sure...

Thanks for any advice!
Matthias

Mime
View raw message