Spring Packaging for Deployment


The modular aspect of Spring extends to deployment as well, because you can deploy your application with only the subset of Spring JAR files you need (for example, spring-jdbc.jar). Table 6.1 shows how Spring provides the packages using various JAR files. Notice how the spring.jar is bigger than others, because it is the complete package. I tend to include the complete spring.jar file in my applications because 1.7MB isn't considered very large these days, especially for server-side applications.

Table 6.1. Spring's Complete or Separate JAR Files

JAR File

Size (KB)

spring.jar

1,731

modules/spring-beans.jar

258

modules/spring-aop.jar

224

modules/spring-jdbc.jar

210

modules/spring-webmvc.jar

208

modules/spring-support.jar

189

modules/spring-remoting.jar

166

modules/spring-web.jar

138

modules/spring-core.jar

129

modules/spring-context.jar

111

modules/spring-dao.jar

103

extmodules/spring-hibernate3.jar

102

extmodules/spring-portlet.jar

97

extmodules/spring-hibernate2.jar

85

extmodules/spring-mock.jar

69

extmodules/spring-jdo.jar

61

extmodules/spring-toplink.jar

55

extmodules/spring-ojb.jar

27

aspects/spring-aspects.jar

10




Agile Java Development with Spring, Hibernate and Eclipse
Agile Java Development with Spring, Hibernate and Eclipse
ISBN: 0672328968
EAN: 2147483647
Year: 2006
Pages: 219

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net