Export to GitHub

hibernatesession-plugin-for-struts2 - Introduction.wiki


Introduction

There is the best practice the use of design pattern "open session in view" for WEB applications with Hibernate Core.

This Plugin offers a Interceptor that open a Hibernate Session, put this in the Action Value Stack and close (or not) this after Action invokation.

The configuration can be done once for the project or by custom Inteceptor Stack. More details in Config.

Examples in Downloads