【Spring实战】----开篇(包含系列目录链接)

时间:2023-03-08 18:40:16
【Spring实战】----开篇(包含系列目录链接)
置顶2016年11月10日 11:12:56
阅读数:3617

终于还是要对Spring进行解剖,接下来Spring实战篇系列会以应用了Spring技术的Java Web的应用mango为例,来分析Spring各个模块的技术,包括源码解析等,谨以此记!!!

【Spring实战】----开发环境配置

【Spring实战】----Spring配置文件的解析

【Spring实战】----springMVC4.3.2的配置

【Spring实战】----springMVC配置文件*-servlet.xml的解析

【Spring实战】----Spring4.3.2集成Hibernate5.2.5

【Spring实战】----源码解析SessionFactory及Session的管理及getCurrentSession的使用

【Spring实战】----解析Spring AOP

【Spring实战】----Spring事务管理配置解析

【Spring实战】----spring security4.1.3配置以及踩过的坑

【Spring实战】----源码解析Spring Security4.1.3中的过滤器Filter配置

【Spring实战】----security4.1.3认证的过程以及原请求信息的缓存及恢复(RequestCache)

【Spring实战】----Security4.1.3实现根据请求跳转不同登录页以及登录后根据权限跳转到不同页配置

【Spring实战】----Security4.1.3认证过程源码分析

【Spring实战】----Security4.1.3鉴权之美--基于投票的AccessDecisionManager实现及源码分析

【Spring实战】Spring容器初始化完成后执行初始化数据方法

【Spring实战】Spring注解配置工作原理源码解析

本系列数据库2017年6月16日改为hsqldb数据库测试,不用安装直接配置,hsqldb使用参见

用HSQLDB数据库测试Hibernate和Spring

hsqldb数据库在java web项目(androidpn)中的使用(spring+hibernate+hsqldb)

附:

1)图谱位置

Spring4.3.2实战

2)代码位置

代码示例

[1] Java反射知识-->Spring IoC :http://www.iteye.com/topic/1123081 
[2] Java动态代理-->Spring AOP :http://www.iteye.com/topic/1123293 
[3] 属性编辑器,即PropertyEditor-->Spring IoC:http://www.iteye.com/topic/1123628 
[4] XML基础知识-->Spring配置:http://www.iteye.com/topic/1123630 
[5] 注解-->Spring配置:http://www.iteye.com/topic/1123823 
[6] 线程本地变更,即ThreadLocal-->Spring事务管理:http://www.iteye.com/topic/1123824 
[7] 事务基础知识-->Spring事务管理:http://www.iteye.com/topic/1124043 
[8] 国际化信息-->MVC:http://www.iteye.com/topic/1124044 
[9] HTTP报文-->MVC:http://www.iteye.com/topic/1124408 

Spring Tutorials

【Spring实战】----开篇(包含系列目录链接)

The Spring Framework, created by Rod Johnson, provides a comprehensive programming and configuration model for modern Java-based enterprise applications – on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the “plumbing” of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

In this series of tutorials, we provide step by step examples on how to use the Spring framework.

Spring Quick Start

Quick start to understand the basic of Spring framework development.

Spring Configuration

Traditionally Spring configuration is being done through XML. Spring 3.0 supports JavaConfig, now you can use annotations to do the configuration in Spring.

Spring Dependency Injection (DI)

This section explains how Spring utilizes dependency Injection (DI) to manage object dependencies.

Bean Basic

All the classes you need to use in Spring IoC container are considered “beans” and should be declared in a Spring bean configuration file or via annotations.

Spring Expression Language

Spring 3.0 introduces a powerful, featured rich, expression language known as Spring expression language or in short Spring EL.

Spring AutoWiring Bean

Spring “auto-wiring” modes to wire beans automatically, both in XML and annotation.

Spring Aspect Oriented Programming (AOP)

Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. The key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the aspect. Aspects enable the modularization of concerns such as transaction management that cut across multiple types and objects. While the Spring IoC container does not depend on AOP, meaning you do not need to use AOP if you don’t want to, AOP complements Spring IoC to provide a very capable middleware solution.

Spring AOP + AspectJ framework

AspectJ supported since Spring 2.0, a more flexible and powerful solution compared to Spring AOP.

Spring Object/XML Mapper

Spring Object to XML mapping Tool (OXM).

Spring JDBC Support

Spring provides many helper classes to simplify JDBC based database operations.

Spring JPA/ORM Support

Spring comes with many handy classes to support JPA and ORM frameworks.

Spring E-mail Support

Spring provides MailSender to send email via JavaMail API. This section also provides tutorials on how to integrate Spring with third party mail providers and their APIs.

Spring Caching support

Spring provides a cache abstraction layer for caching frameworks to plug-in. You can utilize the cache for method calls, database interaction and distributes service execution.

Spring Scheduling Support

Spring has very good support for both JDK timers and the Quartz framework.

Spring Web MVC framework

Spring Web Model-View-Controller (MVC) framework.

Spring REST Support

Spring supports exporting beans as REST services through its MVC framework. This section also provides tutorials on how to export Spring services over REST using popular third party tools.

Spring WEB Services

Spring Web Services (Spring-WS) is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

Spring Unit Test Support

Spring integrates with many popular unit test frameworks to test its services.

Spring JMS Support

Spring provides a JMS integration framework that simplifies the use of the JMS API and shields the user from differences between the JMS 1.0.2 and 1.1 APIs. This section also provides tutorials on how to integrate Spring with popular third party JMS providers.

Spring Data

【Spring实战】----开篇(包含系列目录链接)

Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies.

Spring Security

【Spring实战】----开篇(包含系列目录链接)

Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications.

Spring Social

【Spring实战】----开篇(包含系列目录链接)

Spring Social is an extension of the Spring Framework that allows you to connect your applications with Software-as-a-Service (SaaS) providers such as Facebook and Twitter.

Spring Integration

【Spring实战】----开篇(包含系列目录链接)

Spring Integration provides an extension of the Spring programming model to support the well-known Enterprise Integration Patterns. It enables lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Those adapters provide a higher-level of abstraction over Spring’s support for remoting, messaging, and scheduling.

Spring Batch

【Spring实战】----开篇(包含系列目录链接)

Spring Batch is a lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems.

Spring Roo

【Spring实战】----开篇(包含系列目录链接)

Spring Roo is a next-generation rapid application development tool for Java developers. It focuses on higher productivity, stock-standard Java APIs, high usability, avoiding engineering trade-offs.

Spring Boot

【Spring实战】----开篇(包含系列目录链接)

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that can you can “just run”. We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

https://www.javacodegeeks.com/tutorials/java-tutorials/enterprise-java-tutorials/spring-tutorials