Wednesday, 3 April 2013

Installation of Spring software


1. You can download the spring software from the link http://www.springsource.org/download 

2. To install spring 2.x software, extract spring-framework-2.5.x-with-dependencies.zip file to a folder.

3. Spring-home\changelog.txt file contains differences between various versions of spring software

4. Spring-home\dist\spring.jar file represents the whole spring API and it has one dependent jar file, that is     commnons-logging.jar. Note that there is no spring.jar file from spring 3.x on wards. In that case you have to choose jar file independently which you want to work on.

Installation in stand alone application:
When stand alone java application uses spring API, then the Sprig API related main and dependent jar files must be added to the CLASSPATH.

Installation in web application:
If java web application uses Spring API in its web resource programs, then the Spring API related main and dependent jar files should be added in the WEB-INF\lib folder of web application.
 
Spring API is third party API, because it is coming from a third party organization called Interface 21. When java stand alone application uses third party API then the third party API related main and dependent jar files must be added in the classpath.

No comments:

Post a Comment