Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, we will use the web application we developed in Chapter 17 as the application to monitor. To show how to monitor Spring Batch jobs, a batch job was added to the application for importing contact information into the database from an XML file.
We prepared a project for the sample application that will be used for monitoring; you can simply import it and then proceed to implement the required classes.
From the sample code, extract the file ch23-nojmx.zip into your STS workspace. Then, import the project in STS.
To import the project, in STS choose the menu option File Import, and on the Select screen of the Import wizard, choose Existing Projects into Workspace under the General category, as shown in Figure 23-1.