Spring Dependencies
Spring Framework version 3.1.0 is delivered with WSO2 Application Server 5.1.0.
Only Below subset of the spring pakages are delivered with AS:
org.springframework.ws spring-xml (version : 2.0.3.RELEASE)
org.springframework spring-core (version : 3.1.0)
org.springframework spring-beans (version : 3.1.0)
org.springframework spring-context (version : 3.1.0)
org.springframework spring-web (version : 3.1.0)
If the Application needs any other spring packages those needs to be deployed with application itself.
Projects which are built with Spring 2.5 or higher version will be backward compatible with delivered version of Spring Framework. But it is recomended to build your application with Spring 3.1.0 before deployement.
If the Application is based on a higher version of Spring framwork then that version needs to be deployed with the application. The framework which is deployed with the application will be given the priority in the runtime.