myfaces-users mailing list archives

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

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*

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!

View raw message