If spring take control of this then you can access many spring&container
feature on session. Also you can take advantage of different Templates
provided by spring(HibernateTemplate , SimpleJDBCTemplate..)

-----Original Message-----
From: Leonidas Papadakis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 3:04 PM
To: Struts Users Mailing List
Subject: struts 2 best practice for hibernate session

Greetings to all,

since i am migrating to struts2 i would like to ask which is the most 
efficient way to handle the hibernate sessions ... i.e. stick to the 
hibernateutil class that is on hibernate website example ? Create a 
application scope bean accessible via spring ?

Your answers are appreciated

Thank you very much

Leonidas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to