Hi,
I'm trying use Thread Local Session in
J2EE.
I have a Session Facade with my business methods.
For each business methods I need the session, so I
will create the HibernateSession object in every methods to obtain the
session, right ?.
My question:
The HibernateSession class need to be a session
bean ?.
If no how can I use it from my Sesion Facade
?.
I'm Using JBOSS and MBEAN as describe in the
article "Using Hibernate with JBoss"
Thanks
Marco Polo
|
[Hibernate] Design pattern "Thread Local Session" in J2EE
Marco Polo (Resolve Informatica) Thu, 18 Mar 2004 09:29:31 -0800