Spring Framework JAR Package Overview
Spring Framework provides a range of JAR files, including 'spring.jar', which aggregates the contents of all core Spring libraries except 'spring-mock.jar'. 'spring-mock.jar' is used only in development for testing purposes and is not included in production environments. Apart from 'spring.jar', there are 13 other JAR files, each supporting specific Spring components:
1. **spring-core.jar**: Contains essential core utility classes used across other Spring components.
2. **spring-beans.jar**: Includes classes for accessing configuration files, managing beans, and performing IoC/DI operations.
3. **spring-aop.jar**: Provides classes for using Spring AOP features, such as declarative transaction management.
4. **spring-context.jar**: Extends Spring's core functionality, including ApplicationContext features, JNDI support, and integration with templating engines.
5. **spring-dao.jar**: Contains classes for Spring DAO and transaction management.
6. **spring-hibernate.jar**: Includes classes for integrating with Hibernate 2 and Hibernate 3.
7. **spring-jdbc.jar**: Provides classes for JDBC data access.
8. **spring-orm.jar**: Extends DAO features to support iBATIS, JDO, OJB, TopLink, excluding Hibernate which is in a separate package.
9. **spring-remoting.jar**: Supports EJB, JMS, and remote calls (RMI, Hessian, Burlap, Http Invoker, JAX-RPC).
10. **spring-support.jar**: Contains classes for caching, JCA, JMX, email services, and scheduling.
11. **spring-web.jar**: Provides core classes for web applications, including integration with Struts, JSF, and file upload support.
12. **spring-webmvc.jar**: Includes classes for Spring MVC framework, internationalization, and view rendering.
13. **spring-mock.jar**: Provides mock classes for testing, such as HttpServletRequest and HttpServletResponse.
To select the appropriate JAR files, consider your application's needs: for a full Spring setup, use 'spring.jar'; for basic IoC/DI, use 'spring-core.jar' and 'spring-beans.jar'; for smaller packages, choose only the necessary JAR files. The ClassPath Helper plugin in Eclipse can assist in identifying required dependencies.
**Dependencies:**
1. **spring-core.jar** requires commons-collections.jar.
2. **spring-beans.jar** requires spring-core.jar and cglib-nodep-2.1_3.jar.
3. **spring-aop.jar** requires spring-core.jar, spring-beans.jar, cglib-nodep-2.1_3.jar, and aopalliance.jar.
4. **spring-context.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, commons-collections.jar, and aopalliance.jar.
5. **spring-dao.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, and spring-context.jar.
6. **spring-jdbc.jar** requires spring-core.jar, spring-beans.jar, and spring-dao.jar.
7. **spring-web.jar** requires spring-core.jar, spring-beans.jar, and spring-context.jar.
8. **spring-webmvc.jar** requires spring-core.jar, spring-beans.jar, spring-context.jar, and spring-web.jar.
9. **spring-hibernate.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-jdbc.jar, spring-orm.jar, and spring-webmvc.jar.
10. **spring-orm.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-jdbc.jar, and spring-webmvc.jar.
11. **spring-remoting.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-context.jar, and spring-webmvc.jar.
12. **spring-support.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-context.jar, and spring-jdbc.jar.
13. **spring-mock.jar** requires spring-core.jar, spring-beans.jar, spring-dao.jar, spring-context.jar, and spring-jdbc.jar.
1. **spring-core.jar**: Contains essential core utility classes used across other Spring components.
2. **spring-beans.jar**: Includes classes for accessing configuration files, managing beans, and performing IoC/DI operations.
3. **spring-aop.jar**: Provides classes for using Spring AOP features, such as declarative transaction management.
4. **spring-context.jar**: Extends Spring's core functionality, including ApplicationContext features, JNDI support, and integration with templating engines.
5. **spring-dao.jar**: Contains classes for Spring DAO and transaction management.
6. **spring-hibernate.jar**: Includes classes for integrating with Hibernate 2 and Hibernate 3.
7. **spring-jdbc.jar**: Provides classes for JDBC data access.
8. **spring-orm.jar**: Extends DAO features to support iBATIS, JDO, OJB, TopLink, excluding Hibernate which is in a separate package.
9. **spring-remoting.jar**: Supports EJB, JMS, and remote calls (RMI, Hessian, Burlap, Http Invoker, JAX-RPC).
10. **spring-support.jar**: Contains classes for caching, JCA, JMX, email services, and scheduling.
11. **spring-web.jar**: Provides core classes for web applications, including integration with Struts, JSF, and file upload support.
12. **spring-webmvc.jar**: Includes classes for Spring MVC framework, internationalization, and view rendering.
13. **spring-mock.jar**: Provides mock classes for testing, such as HttpServletRequest and HttpServletResponse.
To select the appropriate JAR files, consider your application's needs: for a full Spring setup, use 'spring.jar'; for basic IoC/DI, use 'spring-core.jar' and 'spring-beans.jar'; for smaller packages, choose only the necessary JAR files. The ClassPath Helper plugin in Eclipse can assist in identifying required dependencies.
**Dependencies:**
1. **spring-core.jar** requires commons-collections.jar.
2. **spring-beans.jar** requires spring-core.jar and cglib-nodep-2.1_3.jar.
3. **spring-aop.jar** requires spring-core.jar, spring-beans.jar, cglib-nodep-2.1_3.jar, and aopalliance.jar.
4. **spring-context.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, commons-collections.jar, and aopalliance.jar.
5. **spring-dao.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, and spring-context.jar.
6. **spring-jdbc.jar** requires spring-core.jar, spring-beans.jar, and spring-dao.jar.
7. **spring-web.jar** requires spring-core.jar, spring-beans.jar, and spring-context.jar.
8. **spring-webmvc.jar** requires spring-core.jar, spring-beans.jar, spring-context.jar, and spring-web.jar.
9. **spring-hibernate.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-jdbc.jar, spring-orm.jar, and spring-webmvc.jar.
10. **spring-orm.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-jdbc.jar, and spring-webmvc.jar.
11. **spring-remoting.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-context.jar, and spring-webmvc.jar.
12. **spring-support.jar** requires spring-core.jar, spring-beans.jar, spring-aop.jar, spring-dao.jar, spring-context.jar, and spring-jdbc.jar.
13. **spring-mock.jar** requires spring-core.jar, spring-beans.jar, spring-dao.jar, spring-context.jar, and spring-jdbc.jar.
2.43MB
文件大小:
评论区