重新认识Spring

原创文章,转载请注明: 转载自bert82503

本文链接地址: 重新认识Spring

09年下半年开始接触Spring框架,到今天已是第5个年头。在这5年的使用过程中,中途也会偶尔翻看官方文档,但仅停留在使用层面。当前段时间再次详细浏览Spring官网时,发现很多项目都是新面孔,当然域名也变更了。

当自己详细阅读Spring框架的文档目录后,才发现OverviewWhat’s NewResourcesAOPTransaction ManagementData AccessWeb MVCTask 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 IOSpring系列项目汇集成一个整体、版本化的应用基础平台

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是一个基于EclipseIDE,以便满足构建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 needSpring 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 Platform

 

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 processingbatch 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 FrameworkSpring 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 possibleusing 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 ServiceManaging TransactionsSecuring a Web ApplicationScheduling TasksCreating a Batch Service等。

Getting Started Guides

 

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.

Tutorials这些教程提供更深层次的在上下文中探索的企业应用开发主题,让你准备好实现真实世界的解决方案

 

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.

Projects无论您的应用程序的基础架构需求是什么,可能就有一个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和引用文档

Documentation

 

Blog

The Spring Blog

Questions

Spring at StackOverflow

 
 
玩的开心! ^_^

本文链接地址: 重新认识Spring

09年下半年开始接触Spring框架,到今天已是第5个年头。在这5年的使用过程中,中途也会偶尔翻看官方文档,但仅停留在使用层面。当前段时间再次详细浏览Spring官网时,发现很多项目都是新面孔,当然域名也变更了。

当自己详细阅读Spring框架的文档目录后,才发现OverviewWhat’s NewResourcesAOPTransaction ManagementData AccessWeb MVCTask 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 IOSpring系列项目汇集成一个整体、版本化的应用基础平台

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是一个基于EclipseIDE,以便满足构建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 needSpring 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 Platform

 

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 processingbatch 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 FrameworkSpring 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 possibleusing 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 ServiceManaging TransactionsSecuring a Web ApplicationScheduling TasksCreating a Batch Service等。

Getting Started Guides

 

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.

Tutorials这些教程提供更深层次的在上下文中探索的企业应用开发主题,让你准备好实现真实世界的解决方案

 

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.

Projects无论您的应用程序的基础架构需求是什么,可能就有一个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和引用文档

Documentation

 

Blog

The Spring Blog

Questions

Spring at StackOverflow

    玩的开心! ^_^

猜你喜欢

转载自bert82503.iteye.com/blog/2088493