Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Spring Dependencies 

  • Spring Framework version 3.1.0 is delivered with WSO2 Application Server 5.1.0.

...

  •  Only Below subset of the spring

...

  • packages 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 then 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 recommended to build your application with Spring 3.1.0

...

  • before deployment.

  • If the Application is based on a higher version of Spring

...

  • framework 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 run time.

In CXF environment

  • Following sub packages of Spring 3.0.7 are shipped with Application Server CXF environment. 

spring-aop
spring-asm
spring-beans
spring-context
spring-core
spring-expression
spring-web

  • If user wants to upgrade those Spring versions there are two things can be done 

01. Remove existing Spring jars from “{carbon.home}/lib/runtimes/cxf” and replace with new jars or
02. Include required jars inside Web-INF/lib directory of the

...

application and deploy in "Tomcat" runtime