原创文章,转载请注明: 转载自bert82503
本文链接地址: 重新认识Spring
09年下半年开始接触Spring框架,到今天已是第5个年头。在这5年的使用过程中,中途也会偶尔翻看官方文档,但仅停留在使用层面。当前段时间再次详细浏览Spring官网时,发现很多项目都是新面孔,当然域名也变更了。
当自己详细阅读Spring框架的文档目录后,才发现Overview、What’s New、Resources、AOP、Transaction Management、Data Access、Web MVC、Task Execution and Scheduling内容没有细心阅读,才知道Spring有那么多实践经验(设计模式)和代码示例值得去深究与学习。
弥补过去所犯的错误的就是,从现在开始做起。
Spring
The goal
Spring helps development teams everywhere build simple, portable, fast and flexible JVM-based systems and applications.
帮助开发团队构建简单、轻量级、快速、灵活多变的Java系统和应用程序。
Feature
Build Anything(构建任何系统)
Write clean, testable code against the infrastructure components and accomplish any task – without re-inventing the wheel.
基于基础架构组件编写清晰、可测试的代码,并完成任何任务。(无需重新发明轮子)
Run Anywhere(随处运行)
Keep it portable – Spring-based apps run anywhere the JVM does.
保持轻量级
Rest Assured(请放心)
Code with confidence – Spring provides an open programming model that is comprehensive, cohesive, widely understood and well-supported.
自信的代码 – Spring提供了一个全面、紧密、广泛理解和良好支持的开放编程模型。
Spring IO
Spring IO brings together the Spring family of projects into a cohesive and versioned foundational platform for modern applications.
Spring IO将Spring系列项目汇集成一个整体、版本化的应用基础平台。
Guides
Whether you're an expert or a newcomer our task-focused Getting Started Guides and Tutorials are designed to get you productive with Spring as quickly as possible.
无论你是一位专家还是一位新手,以任务为中心的快速入门指南和教程的设计目标是让你尽可能快地使用Spring构建产品。
Spring Tool Suite™
STS is our Eclipse-based IDE crafted to serve the needs of building applications with Spring. We're always working on new features and performance in our mission to make STS the most productive Eclipse distribution available.
STS是一个基于Eclipse的IDE,以便满足构建Spring应用程序的需要。我们总是在任务中使用新的特性和性能。
Spring Projects
From configuration to security, web apps to big data – whatever the infrastructure needs of your application may be, there is a Spring Project to help you build it. Start small and use just what you need – Spring is modular by design.
无论您的应用程序的基础架构需求是什么,可能就有一个Spring项目帮助您构建它。Spring是基于模块化设计的,从小处着手,只使用你需要的模块。
Community Support
Questions - Spring at StackOverflow
The Spring IO Platform
Spring IO brings together the core Spring APIs into a cohesive and versioned foundational platform for modern applications. Spring IO is comprised of the Spring IO Foundation and Spring IO Execution layers.
Spring IO将核心Spring APIs汇集成一个整体、版本化的应用基础平台,由基础层和执行层模块组成。
Spring IO Foundation
The Spring IO Foundation layer is a cohesive set of APIs and embeddable runtime components that enable you to build applications addressing a wide range of enterprise requirements. The foundation makes it easy to identify components that work together; it does not force you to include components you wouldn't otherwise need.
IO基础层是一个完整的APIs和可嵌入式运行组件的集合。IO基础层可以很容易地识别出协同工作的组件,但其并未强制要求你包含不需要的组件。
Spring-Powered Workloads
All of the major workload types are represented: enterprise integration, batch processing, big data processing, web applications (including WebSocket support), and the creation of server-side APIs in support of single-page apps, mobile clients, and services.
Spring's web stack has evolved to include comprehensive REST support for the creation of RESTful APIs – useful for supporting mobile and rich-client application architectures. Spring Framework 4 also adds support for the WebSocket programming model.
Integration workloads are another major use case for Spring. For these, Spring IO provides a rich programming model based on Enterprise Integration Patterns and its notions of channels, adapters, filters, and transformers.
Spring IO提供了一个基于企业集成模式的富客户端编程模型以及通道、适配器、过滤器、转换器的概念。
Spring IO also defines a domain language for batch processing – batch jobs are divided into processing steps with readers and writers used to read the data in and write it back out again. Spring IO's comprehensive batch framework enables you to build robust batch applications that process large volumes of records.
批量处理:批量任务被拆分成一系列的处理步骤,由读者和写者来读取数据和写回数据。
Data
The data landscape is evolving rapidly. When Spring got started, 'data' pretty much meant a traditional relational database, and maybe a cache in front of it if you were lucky. Today we have a wide variety of data stores covering structured and unstructured data, in-memory and on-disk, standard-size and big. The industry has come to recognize that one size does not fit all, and it's a matter of choosing the most appropriate store for the task in hand. Spring IO addresses this modern data landscape—including full support for Apache Hadoop—whether it be document, graph, key-value, relational, or simply unstructured files.
Core
At the center of the Spring IO Foundation layer, and common across all workload types, we find the core framework itself. Via Spring Framework 4.0, Spring IO enables you to take full advantage of Java SE 8 and the latest updates from EE 7. Spring Security has full support for addressing security concerns, and Spring IO's Reactor provides a foundation for building reactive, asynchronous, event- and data-driven applications.
在IO基础层的中心位置,我们发现了其核心框架Spring Framework。Spring Security针对解决安全问题做了全面支持,Reactor提供了构建交互、异步和基于事件和数据驱动应用程序的基础支持。
Spring IO Execution
The Spring IO Execution layer provides domain-specific runtimes (DSRs) for applications built on the IO Foundation modules. A DSR may run standalone without requiring deployment to an external container. The first release of Spring IO will include three DSRs: Spring XD, Spring Boot, and Grails.
Spring XD provides a powerful runtime and DSL for describing big data ingestion and analytics, export, and Hadoop workflow management. In many cases, descriptions of streams, taps and jobs can be directly pushed to the XD DSR without requiring any code to be written at all. The set of XD modules (components that can be used in DSL expressions) is easily extended using building blocks based on Spring Integration and Spring Batch.
Spring Boot reduces the effort needed to create production-ready, DevOps-friendly, XML-free Spring applications. It simplifies bootstrapping of Spring projects with minimal code, implements an extensible set of operational features such as automated health checking and metrics endpoints, and supports embedded containers enabling the creation of self-contained executables.
Grails provides a productive and stream-lined full-stack web framework by combining the power of the Spring IO Foundation components with a set of comprehensive Groovy-based DSLs.
Guides
Whatever you're building, these guides are designed to get you productive as quickly as possible – using the latest Spring project releases and techniques as recommended by the Spring team.
无论你构建什么,这些指南的设计目标是使用最新的项目发布版本和Spring团队推荐的技术让你尽可能快地生产。
Getting Started Guides
Designed to be completed in 15-30 minutes, these guides provide quick, hands-on instructions for building the "Hello World" of any development task with Spring.
这些指南为构建入门级的开发任务提供快速、手把手地指导,包括Building a RESTful Web Service、Managing Transactions、Securing a Web Application、Scheduling Tasks、Creating a Batch Service等。
Tutorials
Designed to be completed in 2-3 hours, these guides provide deeper, in-context explorations of enterprise application development topics, leaving you ready to implement real-world solutions.
这些教程提供更深层次的在上下文中探索的企业应用开发主题,让你准备好实现真实世界的解决方案。
Projects
From configuration to security, web apps to big data – whatever the infrastructure needs of your application may be, there is a Spring Project to help you build it. Start small and use just what you need – Spring is modular by design.
无论您的应用程序的基础架构需求是什么,可能就有一个Spring项目帮助您构建它。Spring是基于模块化设计的,从小处着手,只使用你需要的模块。
Documentation
Here you'll find quick access to API and reference documentation for all Spring projects. If you're just getting to know Spring or tackling building something new, check out our task-focused Getting Started Guides and Tutorials.
在这里可以快速访问所有Spring项目的API和引用文档。
Blog
Questions
相关推荐
1.1.1 重新认识Spring 2 1.1.2 Spring Boot精要 3 1.1.3 Spring Boot不是什么 6 1.2 Spring Boot入门 6 1.2.1 安装Spring Boot CLI 7 1.2.2 使用Spring Initializr初始化Spring Boot项目 10 1.3 小结 ...
1.1.1 重新认识Spring 2 1.1.2 Spring Boot精要 3 1.1.3 Spring Boot不是什么 6 1.2 Spring Boot入门 6 1.2.1 安装Spring Boot CLI 7 1.2.2 使用Spring Initializr初始化Spring Boot项目 10 1.3 ...
1 重新认识 SPring 2 1 . 1 . 2 SPring Boot 精要 3 1 . 1 . 3 SPring Boot 不是什么 6 1 . 2 SpringB0ot 人门 6 1 . 2 . !安装 SPring BootCU 7 1 . 2 . 2 使用 Spring Initializr 初始化 Spring Boot 项目 10 1 ...
1.1.1 重新认识Spring 2 1.1.2 Spring Boot精要 3 1.1.3 Spring Boot不是什么 6 1.2 Spring Boot入门 6 1.2.1 安装Spring Boot CLI 7 1.2.2 使用Spring Initializr初始化Spring Boot项目 10 1.3 小结 ...
本资料“认识微服务springcloud.rar”是针对初学者的快速开发入门级文档,特别适合那些想要深入理解并应用Spring Cloud进行互联网开发的工程师。 首先,让我们来了解一下微服务架构的核心理念。微服务架构是一种将...
零基础认识 Spring Boot
### Spring Boot、Spring Cloud、Spring Boot Alibaba及其配套组件版本关系详解 #### 一、引言 ...通过本文的分析,希望能够帮助开发者们更加清晰地认识到各个版本之间的差异和兼容性,从而做出更合理的决策。
1 重新认识 SPring 2 1 . 1 . 2 SPring Boot 精要 3 1 . 1 . 3 SPring Boot 不是什么 6 1 . 2 SpringB0ot 人门 6 1 . 2 . !安装 SPring BootCU 7 1 . 2 . 2 使用 Spring Initializr 初始化 Spring Boot 项目 10 1 ...
第1章认识Spring 第2章Spring入门 第3章Bean、消息、事件 第4章SpringAOP 第5章JDBC、事务支持 第6章Hibernate与Spring 第7章SpringWebMVC框架 第8章View层方案、Web框架整合 第9章API封装 第10章项目:...
黑马程序员-SpringCloud-学习笔记01-认识微服务
1.1.1 重新认识 Spring ............................ 2 1.1.2 Spring Boot 精要 ........................... 3 1.1.3 Spring Boot 不是什么 ................... 6 1.2 Spring Boot 入门 ...........................
1.1.1 重新认识 Spring ............................ 2 1.1.2 Spring Boot 精要 ........................... 3 1.1.3 Spring Boot 不是什么 ................... 6 1.2 Spring Boot 入门 ...........................
《精通 Spring Boot 42 讲》共分五大部分,第一部分是从零起步的基础内容,共4课,帮助大家快速认识 Spring Boot ,我会带领大家熟悉 Spring Boot 产生的背景和设计理念,同时也会讲解 Spring Boot 的环境搭建和项目...
在Spring Boot中,"快速入门"通常指的是新手或初学者对Spring Boot的基本认识和基础使用,能够快速构建和部署一个Spring Boot应用程序。 ### Spring Boot概述 #### 1.1. 什么是Spring Boot Spring Boot是Spring...
**认识TestNG** TestNG是一个用于Java应用程序的自动化测试框架,由Cédric Beust创建。它允许定义测试套件,分组测试,执行异步测试,并提供详细的测试报告。TestNG引入了如注解、XML配置文件、监听器和报告功能,...
通过本教程,你应该对Spring框架有了初步的认识,了解了其核心的IoC和DI机制。接下来,你可以深入学习Spring的其他模块,如数据访问、事务管理、AOP等,以提升你的Java开发技能。记住,掌握Spring不仅可以提高开发...
帮助你更好的认识spring,深入了解spring的各个功能点。是学习spring的利器。
本合集深入剖析了Spring的诸多关键特性,包括依赖注入、配置类解析、Bean生命周期管理、以及与MyBatis的整合等,旨在帮助读者构建起对Spring全面而深入的认识。 1. **依赖注入源码解析**:在"06-Spring之依赖注入...
首先认识下Spring的结构 ![架构图](http://www.ibm.com/developerworks/cn/java/j-lo-spring-principle/image001.gif) 然后我们皆可以写我们的demo了 ### 我们的Bean类 对于bean的理解,希望大家是把他看成...