Introducing Spring Insight
Spring Insight provides a number of features. The feature most relevant to application developers is the
ability to trace and capture the statistics and performance figures across all layers of a web application.
Some of the main information that Spring Insight can help to capture is as follows:
The response time of various pages within a web application over a designated
·
period of time
Detailed description of each request, its parameters, and its headers
·
The list of component method calls and their parameters
·
A list of all database queries and their performance
·
The interaction between Spring beans and their performance
·
Under the hood, Spring Insight use AspectJ to intercept operations in target web applications.
Targeted web applications are loaded with a special classloader that dynamically instruments web
applications during runtime.
Configuring Spring Insight
The easiest way to understand Spring Insight is to see it in action. In this section, we will demonstrate
how to set up an environment with Spring Insight Developer for monitoring our sample application.
With STS, setting up Spring Insight Developer is easy. The tc Server Developer Edition that is
bundled with STS already has Spring Insight Developer included. To use it, we just need to configure a tc
Server instance with Spring Insight enabled.
To configure a tc Server with Spring Insight enabled, in STS's Servers view, right-click in any empty
area and then select New Server. The New Server wizard will be displayed. Enter the server name, as
shown in Figure 23-15.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home