O'Reilly logo

Java Hibernate Cookbook by Vishal Ranapariya, Yogesh Prajapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration with Struts

Struts is an open source web application framework that is designed to support the development life cycle, which includes building, deploying, and maintaining the application. Struts is based on the MVC (Model View Controller) pattern. It is available under Apache License.

The official site of Struts to download the distribution, support, contribution, and tutorials is https://struts.apache.org/.

Here, we will create a Maven-based Struts web application to understand how to integrate hibernate with Struts. In this recipe, we will continue to use the DAO pattern.

Struts has no plugin available for integration with hibernate, so we will manage all hibernate code manually.

Getting ready

In this section, we will create a code file ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required