Spring 3.2.0 First Thing-1
来源:互联网 发布:计算机硬件工程师知乎 编辑:程序博客网 时间:2024/06/07 11:27
http://static.springsource.org/spring/docs/current/spring-framework-reference/html/overview.html
1. Spring 模块
Spring Framework 大约有20个模块构成. 主要有 Core Container, Data Access/Integration, Web, AOP (Aspect Oriented Programming), Instrumentation, and Test, 如上图所示。
1.2.1 Core Container
Core Container 由 Core, Beans, Context, and Expression Language modules构成
Core and Beans 是spring框架最基础的部分, 包括 IoC 和依赖注入 BeanFactory
是最完美的实现形式.
Context 模块构建在Core and Beans 模块的基础上实现的, ApplicationContext
接口是一个基本的模块.
Expression Language 最大的特点是在运行时操作对象.支持国际化,可以方便的从Spring's IoC 容器中取到对象.
1.2.2 Data Access/Integration
The Data Access/Integration layer consists of the JDBC, ORM, OXM, JMS and Transaction modules.
The JDBC module provides a JDBC-abstraction layer that removes the need to do tedious JDBC coding and parsing of database-vendor specific error codes.
The ORM module provides integration layers for popular object-relational mapping APIs, includingJPA,JDO,Hibernate, and iBatis. Using the ORM package you can use all of these O/R-mapping frameworks in combination with all of the other features Spring offers, such as the simple declarative transaction management feature mentioned previously.
The OXM module provides an abstraction layer that supports Object/XML mapping implementations for JAXB, Castor, XMLBeans, JiBX and XStream.
The Java Messaging Service (JMS) module contains features for producing and consuming messages.
The Transaction module supports programmatic and declarative transaction management for classes that implement special interfaces and forall your POJOs (plain old Java objects).
1.2.3 Web
The Web layer consists of the Web, Web-Servlet, Web-Struts, and Web-Portlet modules.
Spring's Web module provides basic web-oriented integration features such as multipart file-upload functionality and the initialization of the IoC container using servlet listeners and a web-oriented application context. It also contains the web-related parts of Spring's remoting support.
The Web-Servlet module contains Spring's model-view-controller (MVC) implementation for web applications. Spring's MVC framework provides a clean separation between domain model code and web forms, and integrates with all the other features of the Spring Framework.
The Web-Struts module contains the support classes for integrating a classic Struts web tier within a Spring application. Note that this support is now deprecated as of Spring 3.0. Consider migrating your application to Struts 2.0 and its Spring integration or to a Spring MVC solution.
The Web-Portlet module provides the MVC implementation to be used in a portlet environment and mirrors the functionality of Web-Servlet module.
1.2.4 AOP and Instrumentation
Spring's AOP module provides an AOP Alliance-compliant aspect-oriented programming implementation allowing you to define, for example, method-interceptors and pointcuts to cleanly decouple code that implements functionality that should be separated. Using source-level metadata functionality, you can also incorporate behavioral information into your code, in a manner similar to that of .NET attributes.
The separate Aspects module provides integration with AspectJ.
The Instrumentation module provides class instrumentation support and classloader implementations to be used in certain application servers.
1.2.5 Test
The Test module supports the testing of Spring components with JUnit or TestNG. It provides consistent loading of Spring ApplicationContexts and caching of those contexts. It also provides mock objects that you can use to test your code in isolation.
- Spring 3.2.0 First Thing-1
- First thing first
- C/C++ via Windows (1) - first thing first
- ThingWorx : 1、创建Thing
- The first thing to do – DB design
- [HAPrxoy]First thing to check when using HAProxy
- Security in Internet of Thing (1)
- Python Thing.
- some thing
- daily thing
- Do right thing or do thing right
- Spring MVC 学习笔记1 - First Helloworld by Eclipse【& - java web 开发Tips集锦】
- First release candidate of Spring 1.1
- Spring's WebSphereUowTransactionManager & 'application class loader first'
- The first Spring project with Ioc
- First Day of 2016 Spring Semester
- springmvc+spring+mybatis整合案例 [first]
- 《Thing In Java》 笔记1(3,4,5,6章)
- header( "Content-Type: application/vnd.ms-excel")
- 未能在sysindexes中找到数据库ID11中对象ID1的索引ID1对应的行,请对sysindexes运行
- Spring学习笔记 AOP的HelloWorld
- Java 内存分析工具
- 登录的jdbc后台程序
- Spring 3.2.0 First Thing-1
- IOS BLOCK
- 七夕·殇
- 时间戳
- [SQL Server]幾種分頁(Paging)
- viewflow实现类似淘宝,网易新闻的横幅banner,可循环自动播放
- android的 makefile里 的常用 宏定义
- Matlb矩阵操作
- 浮华落寂