This Plugin offers a Interceptor that open a Hibernate Session, put this in the Action Value Stack and close Plugin for Struts 2 that opens an Hibernate Core Session, sets it in the value stack of the Actions configured for the HibernateSessionInterceptor (provided by this plugin) and closes (or not) this after Action invokation.it after the results are rendered for the client.
No code lines need to be added Using this you will need 0 lines of code to use Hibernate in Struts 2 projects. Only some .XML/.properties lines will be are needed.
Ideal for new projects using Struts 2 and Hibernate.
Plugin Page Project is hosted at http://code.google.com/p/hibernatesession-plugin-for-struts2/