Tutorial for Spring This chapter provides instructions on constructing a basic spring web application with the front end being written using the struts mvc framework, the middle tier being created with spring, and the back end being created with hibernate. This application will be redesigned to make advantage of the Spring MVC framework in Chapter 4. The following subjects are covered in this chapter: • setup transactions and hibernation; • creating tests to ensure functioning. • opening the applicationcontext.xml file from Spring. • establishing dependencies between daos and business delegates. • spring wire into the application for struts.Using spring live, you will develop a basic user management application that performs the essential functions (create, retrieve, update, and delete). Myusers is the name of this application, which will serve as the example application for the duration of the book. This three-tiered web application has an action that calls a data access object (DAO) and a business delegate. After completing this instruction, the myusers application will function as briefly shown in the figure below. The flow is represented by the numbers below: useraction on the web, usermanager on the middle tier, userdao on the data layer, and so forth. Figure 2.1: The application procedure for myusers Struts is the mvc framework used in this application since the majority of readers are already acquainted with it. Declarative transactions, dependency binding, and persistent support (such as hibernate and ibatis) are where Spring really shines. This application is refactored to utilize the Spring MVC framework in Chapter 4. the whole Java Spring Tutorial on Spring Live