SpringBoot官方文档翻译(一):介绍 Spring Boot

Part II. Getting Started

篇章二. 开始

1
2
3
4
5
6
If you are getting started with Spring Boot,or “Spring” in general, 
start by reading this section. It answers the basic “what?”, “how?”
and “why?” questions.It includes an introduction to Spring Boot,
along with installation instructions.We then walk you through
building your first Spring Boot application, discussing some core
principles as we go.

一般来说,您可以从阅读本章节开始学习Spring Boot 或者Spring。本节回答了最基础的“什么?”,“如何?”,“为何?”等问题。它包括了介绍Spring Boot如何独立部署的说明。我们将带领您建设您得第一个SpringBoot应用,跟随我们一起去探讨一些Spring Boot的核心价值。

8 . Introducing Spring Boot(介绍 Spring Boot)

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

Spring Boot使您能够非常简单的创建一个可运行的基于Spring的,产品级别的,独立部署应用。我们用我们自己认为的观点来处理Spring平台和第三方库,以便于您能够以最小的代价开始您的应用。所有的Spring Boot应用都只需要很少的Spring配置

1
2
3
You can use Spring Boot to create Java applications that can    
be started by using java -jar or more traditional war deployments.
We also provide a command line tool that runs “spring scripts”.

你能够在Spring Boot 中使用java -jar 或者更为传统的 war包去创建java应用。我们同样提供了命令行工具去运行“Spring脚本”。

1
2
3
4
5
6
7
8
9
10
Our primary goals are:
* Provide a radically faster and widely accessible
getting-started experience for all Spring development.
* Be opinionated out of the box but get out of the way
quickly as requirements start to diverge from the defaults.
* Provide a range of non-functional features that are
common to large classes of projects (such as embedded servers,
security, metrics, health checks, and externalized configuration).
* Absolutely no code generation and no requirement for XML
configuration.

我们的主要目标
• 为所有的基于Spring的开发提供一个更快的,更广泛的入门级体验。
• 以自我认为的方式通过一些默认的最快速基本的配置实现开箱即用的体验。
• 提供大型项目(如内置服务器,安全性,埋点,运行状况检查和外部配置)通用的一系列非产品功能性的功能。
• 绝对不需要生成代码或者xml的配置。

分享到