Hi ! I use struts 1.2 and Hibernate on Websphere 5. I use the struts plugin to store the SessionFactory on applicaiton context.
Where is the best way to keep the current opened Hibernate Session ? -in the HttpSession of each user ? -in a singleton ? -... When to close this Session ? -after each request ? -when the HttpSession closes ? -... Acutally, I have put the getHibernateSession() on a ActionFormBase. After each SQL action (load, find...) I close the Session. I don't believe this is a good design and would like to improve it. Thanks for your advices... Lionel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]