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.
|