http://hibernate.org/43.html
Jon
----- Original Message ----- From: "Matthias Wessendorf" <[EMAIL PROTECTED]>
To: "MyFaces-User" <[email protected]>
Sent: Monday, March 07, 2005 1:34 PM
Subject: Design question for integrating Hibernate and JSF(MyFaces)
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

