CodingDict
首页
(current)
实战课程
免费教程
中文文档
博客资讯
在线工具
Spring 中文文档
目录
目录
I. Overview of Spring Framework
Index
1. Getting Started with Spring
2. Introduction to the Spring Framework
2.1. Dependency Injection and Inversion of Control
2.2. Modules
2.3. Usage scenarios
II. What’s New in Spring Framework 4.x
3. New Features and Enhancements in Spring Framework 4.0
3.1. Improved Getting Started Experience
3.2. Removed Deprecated Packages and Methods
3.3. Java 8 as well as 6 and 7
3.4. Java EE 6 and 7
3.5. Groovy Bean Definition DSL
3.6. Core Container Improvement
3.7. General Web Improvements
3.8. WebSocket, SockJS, and STOMP Messaging
3.9. Testing Improvements
4.1. JMS Improvements
4.2. Caching Improvement
4.3. Web Improvements
4.4. WebSocket STOMP Messaging Improvements
4.5. Testing Improvements
5. New Features and Enhancements in Spring Framework 4.2
5.1. Core Container Improvements
5.2 Data Access Improvements
5.2. Data Access Improvements
5.3. JMS Improvements
5.4. Web Improvements
5.5. WebSocket Messaging Improvements
5.6. Testing Improvements
New Features and Enhancements in Spring Framework 4.3
III. Core Technologies
Index
10. Aspect Oriented Programming with Spring
10.1. Introduction
10.2. @AspectJ support
10.3. Schema based AOP support
10.4 如何抉择使用那种AOP的声明风格
11.5 混合切面风格
10.6 代理机制
10.7. Programmatic creation of @AspectJ Proxies
11.8 Using AspectJ with Spring applications
10.9. Further Resources
11. Spring AOP APIs
11.1. Introduction
11.10. Using TargetSources
11.11. Defining new Advice types
11.12. Further resources
11.2. Pointcut API in Spring
11.3. Advice API in Spring
11.4. Advisor API in Spring
11.5. Using the ProxyFactoryBean to create AOP proxies
11.6. Concise proxy definitions
11.7. Creating AOP proxies programmatically with the ProxyFactory
11.8. Manipulating advised objects
11.9. Using the `auto proxy` facility
6. The IoC container
6.14. Registering a LoadTimeWeaver
6.15. Additional Capabilities of the ApplicationContex
6.16. The BeanFactory
7. Resources
7.1. Introduction
7.2. The Resource interface
7.3. Built in Resource implementations
7.4. The ResourceLoader
7.5. The ResourceLoaderAware interface
7.6. Resources as dependencies
7.7. Application contexts and Resource paths
8. Validation, Data Binding, and Type Conversion
8.1 Introduction
8.2. Validation using Spring’s Validator interface
8.3. Resolving codes to error messages
8.4. Bean manipulation and the BeanWrapper
8.5. Spring Type Conversion
8.6. Spring Field Formatting
8.7. Configuring a global date & time format
8.8. Spring Validation
9. Spring Expression Language SpEL
9.1. Introduction
9.2. Feature Overview
9.3. Expression Evaluation using Spring’s Expression Interface
9.4. Expression support for defining bean definitions
9.5. Language Reference
9.6. Classes used in the examples
Annotation based container configuration
Bean definition inheritance
Bean overview
Bean scopes
Classpath scanning and managed components
Container Extension Points
Container overview
Customizing the nature of a bean
Dependencies
Environment abstraction
Introduction to the Spring IoC container and beans
Java based container configuration
Using JSR 330 Standard Annotations
IV. Testing
Index
12. Introduction to Spring Testing
13. Unit Testing
13.1. Mock Objects
13.2. Unit Testing support Classes
14. Integration Testing
15. Further Resources
V. Data Access
Index
16. Transaction Management
16.1. Introduction to Spring Framework transaction management
16.10. Further Resources
16.2. Advantages of the Spring Framework’s transaction support model
16.3. Understanding the Spring Framework transaction abstraction
16.4. Synchronizing resources with transactions
16.5. Declarative transaction management
16.6. Programmatic transaction management
16.7. Choosing between programmatic and declarative transaction management
16.8. Application server specific integration
16.9. Solutions to common problems
17. DAO support
17.1. Introduction
17.2. Consistent exception hierarchy
17.3. Annotations used for configuring DAO or Repository classes
18. Data access with JDBC
18.1. Introduction to Spring Framework JDBC
18.2. Using the JDBC core classes to control basic JDBC processing and error handling
18.3. Controlling database connections
18.4. JDBC batch operations
18.5. Simplifying JDBC operations with the SimpleJdbc classes
18.6. Modeling JDBC operations as Java objects
18.7. Common problems with parameter and data value handling
18.8. Embedded database support
18.9. Initializing a DataSource
19. Object Relational Mapping Data Access
19.1. Introduction to ORM with Spring
19.2. General ORM integration considerations
19.3. Hibernate
19.4. JDO
19.5. JPA
20. Marshalling XML using OX Mappers
20.1. Introduction
20.2. Marshaller and Unmarshaller
20.3. Using Marshaller and Unmarshaller
20.4. XML Schema based Configuration
20.5. JAXB
20.6. Castor
20.7. XMLBeans
20.8. JiBX
20.9. XStream
VI. The Web
Index
22. Web MVC framework
22.1. Introduction to Spring Web MVC framework
22.10. Spring’s multipart file upload support
22.11. Handling exceptions
22.12. Web Security
22.13. Convention over configuration support
22.14. HTTP caching support
22.15. Code based Servlet container initialization
22.16. Configuring Spring MVC
22.2. The DispatcherServlet
22.3. Implementing Controllers
22.4. Handler mappings
22.5. Resolving views
22.6. Using flash attributes
22.7. Building URIs
22.8. Using locales
23. View technologies
23.1. Introduction
23.10. JSON Mapping View
23.11. XML Mapping View
23.2. JSP & JSTL
23.3. Tiles
23.4. Velocity & FreeMarker
23.5. XSLT
23.6. Document views PDF、Excel
23.7. JasperReports
23.8. Feed Views
23.9. XML Marshalling View
24. Integrating with other web frameworks
24.1. Introduction
24.2. Common configuration
24.3. JavaServer Faces 1.2
24.4. Apache Struts 2.x
24.5. Tapestry 5.x
24.6. Further Resources
25. Portlet MVC Framework
25.1. Introduction
25.10. Portlet application deployment
25.2. The DispatcherPortlet
25.3. The ViewRendererServlet
25.4. Controllers
25.5. Handler mappings
25.6. Views and resolving them
25.7. Multipart file upload support
25.8. Handling exceptions
25.9. Annotation based controller configuration
26. WebSocket Support
26.1. Introduction
26.2. WebSocket API
26.3. SockJS Fallback Options
26.4. STOMP Over WebSocket Messaging Architecture
27. CORS Support
27.1. Introduction
27.2. Controller method CORS configuration
27.3. Global CORS configuration
27.4. Advanced Customization
Part IV.The Web
VII. Integration
Index
27. Remoting and web services using Spring
27.1. Introduction
27.10. Accessing RESTful services on the Client
27.2. Exposing services using RMI
27.3. Using Hessian or Burlap to remotely call services via HTTP
27.4. Exposing services using HTTP invokers
27.5. Web services
27.6. JMS
27.7. AMQP
27.8. Auto detection is not implemented for remote interfaces
27.9. Considerations when choosing a technology
28. Enterprise JavaBeans integration
28.1. Introduction
28.2. Accessing EJBs
28.3. Using Spring’s EJB implementation support classes
29. JMS Java Message Service
29.1. Introduction
29.2. Using Spring JMS
29.3. Sending a Message
29.4. Receiving a message
29.5. Support for JCA Message Endpoints
29.6. Annotation driven listener endpoints
29.7. JMS Namespace Support
30. JMX
30.1. Introduction
30.2. Exporting your beans to JMX
30.3. Controlling the management interface of your beans
30.4. Controlling the ObjectNames for your beans
30.5. JSR 160 Connectors
30.6. Accessing MBeans via Proxies
30.7. Notifications
30.8. Further Resources
31. JCA CCI
31.1. Introduction
31.2. Configuring CCI
31.3. Using Spring’s CCI access support
31.4. Modeling CCI access as operation objects
31.5. Transactions
32. Email
32.1. Introduction
32.2. Usage
32.3. Using the JavaMail MimeMessageHelper
33. Task Execution and Scheduling
33.1. Introduction
33.2. The Spring TaskExecutor abstraction
33.3. The Spring TaskScheduler abstraction
33.4. Annotation Support for Scheduling and Asynchronous Execution
33.5. The Task Namespace
33.6. Using the Quartz Scheduler
34. Dynamic language support
34.1. Introduction
34.2. A first example
34.3. Defining beans that are backed by dynamic languages
34.4. Scenarios
34.5. Bits and bobs
34.6. Further Resources
35. Cache Abstraction
35.1. Introduction
35.2. Understanding the cache abstraction
35.3. Declarative annotation based caching
35.4. JCache JSR 107 annotations
35.5. Declarative XML based caching
35.6. Configuring the cache storage
35.7. Plugging in different back end caches
35.8. How can I set the TTL TTI Eviction policy XXX feature
VIII. Appendices
Index
36. Migrating to Spring Framework 4.X
37. Spring Annotation Programming Model
38. Classic Spring Usage
38.1. Classic ORM usage
38.2. JMS Usage
39. Classic Spring AOP Usage
39.1. Pointcut API in Spring
39.10. Defining new Advice types
39.11. Further resources
39.2. Advice API in Spring
39.3. Advisor API in Spring
39.4. Using the ProxyFactoryBean to create AOP proxies
39.5. Concise proxy definitions
39.6. Creating AOP proxies programmatically with the ProxyFactory
39.7. Manipulating advised objects
39.8. Using the `autoproxy` facility
39.9. Using TargetSources
40. XML Schema based configuration
40.1. Introduction
40.2. XML Schema based configuration
41. Extensible XML authoring
41.1. Introduction
41.2. Authoring the schema
41.3. Coding a NamespaceHandler
41.4. BeanDefinitionParser
41.5. Registering the handler and the schema
41.6. Using a custom extension in your Spring XML configuration
41.7. Meatier examples
41.8. Further Resources
42. spring.tld
42.1. Introduction
42.10. the url tag
42.11. the eval tag
42.2. the bind tag
42.3. the escapeBody tag
42.4. the hasBindErrors tag
42.5. the htmlEscape tag
42.6. the message tag
42.7. the nestedPath tag
42.8. the theme tag
42.9. the transform tag
43. spring form.tld
43.1. Introduction]
43.10. the options tag
43.11. the password tag
43.12. the radiobutton tag
43.13. the radiobuttons tag
43.14. the select tag
43.15. the textarea tag
43.2. the checkbox tag
43.3. the checkboxes tag
43.4. the errors tag
43.5. the form tag
43.6. the hidden tag
43.7. the input tag
43.8. the label tag
43.9. the option tag
Spring 中文文档
Docs
»
目录
目录
I. Spring Framework 总览
开始
介绍 Spring Framework
依赖注入和控制反转
模块
使用场景
II. Spring Framework 4.x 新特性
Spring Framework 4.0中的新功能和增强功能
改进的入门体验
移除不推荐的包和方法
Java 8(以及6和7)
Java EE 6 和 7
Groovy Bean Definition DSL
核心容器改进
常规Web改进
WebSocket, SockJS, 和 STOMP 消息
测试改进
Spring Framework 4.1中的新功能和增强功能
JMS 改进
缓存改进
Web 改进
WebSocket STOMP 消息 改进
测试 改进
Spring Framework 4.2中的新功能和增强功能
核心容器改进
数据访问改进
JMS 改进
Web 改进
WebSocket 消息改进
测试改进
Spring Framework 4.3中的新功能和增强功能
III. 核心技术
IoC 容器
介绍 Spring IoC 容器和 bean
容器总览
Bean 总览
依赖
Bean作用域
定制Bean的回调函数
Bean definition inheritance
容器扩展点
Classpath扫描和管理组件
使用JSR 330标准注解
基于Java的容器配置
环境的抽象
5.14. Registering a LoadTimeWeaver
5.15. Additional Capabilities of the ApplicationContext
5.16. The BeanFactory
6. Resources
6.1. Introduction
6.2. The Resource interface
6.3. Built-in Resource implementations
6.4. The ResourceLoader
6.5. The ResourceLoaderAware interface
6.6. Resources as dependencies
6.7. Application contexts and Resource paths
7. Validation, Data Binding, and Type Conversion
7.1. Introduction
7.2. Validation using Spring’s Validator interface
7.3. Resolving codes to error messages
7.4. Bean manipulation and the BeanWrapper
7.5. Spring Type Conversion
7.6. Spring Field Formatting
7.7. Configuring a global date & time format
7.8. Spring Validation
Spring Expression Language-SpEL
8.1. Introduction
8.2. Feature Overview
8.3. Expression Evaluation using Spring’s Expression Interface
8.4. Expression support for defining bean definitions
8.5. Language Reference
8.6. Classes used in the examples
Spring AOP 编程
10.1. Introduction
10.2. @AspectJ support
9.3. Schema-based AOP support
9.4. Choosing which AOP declaration style to use
9.5. Mixing aspect types
9.6. Proxying mechanisms
9.7. Programmatic creation of @AspectJ Proxies
9.8. Using AspectJ with Spring applications
9.9. Further Resources
10. Spring AOP APIs
10.1. Introduction
10.2. Pointcut API in Spring
10.3. Advice API in Spring
10.4. Advisor API in Spring
10.5. Using the ProxyFactoryBean to create AOP proxies
10.6. Concise proxy definitions
10.7. Creating AOP proxies programmatically with the ProxyFactory
10.8. Manipulating advised objects
10.9. Using the "auto-proxy" facility
10.10. Using TargetSources
10.11. Defining new Advice types
10.12. Further resources
11. Testing
11.1. Introduction to Spring Testing
11.2. Unit Testing
11.3. Integration Testing
11.4. Further Resources
IV. 数据访问
12. Transaction Management
12.1. Introduction to Spring Framework transaction management
12.2. Advantages of the Spring Framework’s transaction support model
12.3. Understanding the Spring Framework transaction abstraction
12.4. Synchronizing resources with transactions
12.5. Declarative transaction management
12.6. Programmatic transaction management
12.7. Choosing between programmatic and declarative transaction management
12.8. Application server-specific integration
12.9. Solutions to common problems
12.10. Further Resources
13. DAO support
13.1. Introduction
13.2. Consistent exception hierarchy
13.3. Annotations used for configuring DAO or Repository classes
14. Data access with JDBC
14.1. Introduction to Spring Framework JDBC
14.2. Using the JDBC core classes to control basic JDBC processing and error handling
14.3. Controlling database connections
14.4. JDBC batch operations
14.5. Simplifying JDBC operations with the SimpleJdbc classes
14.6. Modeling JDBC operations as Java objects
14.7. Common problems with parameter and data value handling
14.8. Embedded database support
14.9. Initializing a DataSource
15. 对象关系映射(ORM)数据访问
15.1. Spring 中的 ORM
15.2. 常见的 ORM 集成方面的注意事项
15.3. Hibernate
15.4. JDO
15.5. JPA
16. Marshalling XML using O/X Mappers
16.1. Introduction
16.2. Marshaller and Unmarshaller
16.3. Using Marshaller and Unmarshaller
16.4. XML Schema-based Configuration
16.5. JAXB
16.6. Castor
16.7. XMLBeans
16.8. JiBX
16.9. XStream
V. The Web
17. Web MVC framework
17.1. Introduction to Spring Web MVC framework
17.2. The DispatcherServlet
17.3. Implementing Controllers
17.4. Handler mappings
17.5. Resolving views
17.6. Using flash attributes
17.7. Building URIs
17.8. Using locales
17.9. Using themes
17.10. Spring’s multipart (file upload) support
17.11. Handling exceptions
17.12. Web Security
17.13. Convention over configuration support
17.14. ETag support
17.15. Code-based Servlet container initialization
17.16. Configuring Spring MVC
18. View technologies
18.1. Introduction
18.2. JSP & JSTL
18.3. Tiles
18.4. Velocity & FreeMarker
18.5. XSLT
18.6. Document views (PDF/Excel)
18.7. JasperReports
18.8. Feed Views
18.9. XML Marshalling View
18.10. JSON Mapping View
18.11. XML Mapping View
19. Integrating with other web frameworks
19.1. Introduction
19.2. Common configuration
19.3. JavaServer Faces 1.2
19.4. Apache Struts 2.x
19.5. Tapestry 5.x
19.6. Further Resources
20. Portlet MVC Framework
20.1. Introduction
20.2. The DispatcherPortlet
20.3. The ViewRendererServlet
20.4. Controllers
20.5. Handler mappings
20.6. Views and resolving them
20.7. Multipart (file upload) support
20.8. Handling exceptions
20.9. Annotation-based controller configuration
20.10. Portlet application deployment
21. WebSocket Support
21.1. Introduction
21.2. WebSocket API
21.3. SockJS Fallback Options
21.4. STOMP Over WebSocket Messaging Architecture
VI. Integration
22. Remoting and web services using Spring
22.1. Introduction
22.2. Exposing services using RMI
22.3. Using Hessian or Burlap to remotely call services via HTTP
22.4. Exposing services using HTTP invokers
22.5. Web services
22.6. JMS
22.7. AMQP
22.8. Auto-detection is not implemented for remote interfaces
22.9. Considerations when choosing a technology
22.10. Accessing RESTful services on the Client
23. Enterprise JavaBeans (EJB) integration
23.1. Introduction
23.2. Accessing EJBs
23.3. Using Spring’s EJB implementation support classes
24. JMS (Java Message Service)
24.1. Introduction
24.2. Using Spring JMS
24.3. Sending a Message
24.4. Receiving a message
24.5. Support for JCA Message Endpoints
24.6. Annotation-driven listener endpoints
24.7. JMS Namespace Support
25. JMX
25.1. Introduction
25.2. Exporting your beans to JMX
25.3. Controlling the management interface of your beans
25.4. Controlling the ObjectNames for your beans
25.5. JSR-160 Connectors
25.6. Accessing MBeans via Proxies
25.7. Notifications
25.8. Further Resources
26. JCA CCI
26.1. Introduction
26.2. Configuring CCI
26.3. Using Spring’s CCI access support
26.4. Modeling CCI access as operation objects
26.5. Transactions
27. Email
27.1. Introduction
27.2. Usage
27.3. Using the JavaMail MimeMessageHelper
28. Task Execution and Scheduling
28.1. Introduction
28.2. The Spring TaskExecutor abstraction
28.3. The Spring TaskScheduler abstraction
28.4. Annotation Support for Scheduling and Asynchronous Execution
28.5. The Task Namespace
28.6. Using the Quartz Scheduler
29. Dynamic language support
29.1. Introduction
29.2. A first example
29.3. Defining beans that are backed by dynamic languages
29.4. Scenarios
29.5. Bits and bobs
29.6. Further Resources
30. Cache Abstraction
30.1. Introduction
30.2. Understanding the cache abstraction
30.3. Declarative annotation-based caching
30.4. JCache (JSR-107) annotations
30.5. Declarative XML-based caching
30.6. Configuring the cache storage
30.7. Plugging-in different back-end caches
30.8. How can I set the TTL/TTI/Eviction policy/XXX feature?
VII. Appendices
31. Migrating to Spring Framework 4.0
32. Classic Spring Usage
32.1. Classic ORM usage
32.2. Classic Spring MVC
32.3. JMS Usage
33. Classic Spring AOP Usage
33.1. Pointcut API in Spring
33.2. Advice API in Spring
33.3. Advisor API in Spring
33.4. Using the ProxyFactoryBean to create AOP proxies
33.5. Concise proxy definitions
33.6. Creating AOP proxies programmatically with the ProxyFactory
33.7. Manipulating advised objects
33.8. Using the "autoproxy" facility
33.9. Using TargetSources
33.10. Defining new Advice types
33.11. Further resources
34. XML Schema-based configuration
34.1. Introduction
34.2. XML Schema-based configuration
35. Extensible XML authoring
35.1. Introduction
35.2. Authoring the schema
35.3. Coding a NamespaceHandler
35.4. BeanDefinitionParser
35.5. Registering the handler and the schema
35.6. Using a custom extension in your Spring XML configuration
35.7. Meatier examples
35.8. Further Resources
36. spring.tld
36.1. Introduction
36.2. the bind tag
36.3. the escapeBody tag
36.4. the hasBindErrors tag
36.5. the htmlEscape tag
36.6. the message tag
36.7. the nestedPath tag
36.8. the theme tag
36.9. the transform tag
36.10. the url tag
36.11. the eval tag
37. spring-form.tld
37.1. Introduction
37.2. the checkbox tag
37.3. the checkboxes tag
37.4. the errors tag
37.5. the form tag
37.6. the hidden tag
37.7. the input tag
37.8. the label tag
37.9. the option tag
37.10. the options tag
37.11. the password tag
37.12. the radiobutton tag
37.13. the radiobuttons tag
37.14. the select tag
37.15. the textarea tag
下一页 »