Summary: this page provides an explanation of Spring Frameworks.

What is Spring?

Spring is essentially a technology dedicated to enabling you to build applications using POJOs (Plain Old Java Object). This desirable goal requires a sophisticated framework, which conceals much complexity from the developer.
In short, Spring provides a lot of functionalities:

For more information refer to: Introduction to Spring Framework. Note that CAST manages only the IoC part of Spring:

Analysis setup

Among the other tasks that you need to perform for a normal JEE analysis, here are the specifics for Spring:

Environment Profile

In order to analyze Spring applications, you must select the appropriate Environment Profiles in your Application or Analysis Unit:

Check for each environment that your application uses the same version, otherwise duplicate the Environment Profile to preserve parametrization, change its name and select the right version of the archive.

XML files

In the Application or Analysis Unit configuration, you need to select an XML directory that contains Spring Configuration files. The selection of the Spring Environment Profile will automatically find Spring XML files and manage them. In Spring 1.2.x, Spring XML files refer to the Spring DTD (all Spring files must refer to it):

<?xml version="1.0" encoding="UTF-8"?>
In Spring 2.x, Spring XML files refer to the Spring namespace:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""


The Spring annotations are automatically taken into account when you select the Spring Framework Environment Profile.

Restitution Sample for Spring