Spring Insight Developer enables you to see what your application is
doing under the glossy exterior of
@annotated APIs or proxied
objects. Popular frameworks of today hide tremendous power behind friendly
facades. For example, a simple
session.save(book) that uses
Hibernate can execute hundreds of JDBC calls, depending on your mapping.
Spring Insight brings these low-level performance-oriented operations to the
screen for quick evaluation.
The following procedures describe basic tasks that help you start using Spring Insight with your own Web application:
Before you start using Spring Insight:
Install tc Server Developer Edition and create a tc Runtime instance using the Spring Insight template. See Installing and Configuring Spring Insight.
Start the tc Runtime instance, deploy your Web application to the instance, configure all of its resources (such as any required JDBC data sources), and make sure your application is running and ready to be used.
To deploy a Web application to a tc Runtime instance, copy its WAR
file or exploded directory to the deployment directory, which by default
is the root
directory of the tc Runtime instance.
For example, assume that you created an instance called
insight-instance using the provided
template and that you have already started the instance. Further assume
and that the full pathname of your Web application is
/home/apps/myApp.WAR. To deploy this application to the tc
Runtime instance, execute the following command:
prompt$ cp /home/apps/myApp.WAR /home/tcserver/vfabric-tc-server-developer/insight-instance/webapps
For complete documentation about tc Server, see vFabric tc Server Documentation.