SpringBoot 参考指南
能够阅读到一项技术的官方指南,对我们开发者来说是非常有用的,但是鉴于好多官方指南都是英文版,对于英文不好的人只能望而怯步了,当然大家也可以使用谷歌浏览器的翻译功能,但是有些地方翻译的不是很好理解,让人云里雾里,于是萌生了工作之余翻译官方指南的想法,既可以让自己的英语水平一步提升,也可以帮助到一些人。本翻译版本仍保留英文原版,可做用作参考。本人英语水平有限,翻译不好的地方请多指教!
Authors(作者)
Phillip Webb, Dave Syer, Josh Long, Stéphane Nicoll, Rob Winch, Andy Wilkinson, Marcel Overdijk, Christian Dupuis, Sébastien Deleuze, Michael Simons, VedranPavić, Jay Bryant, Madhura Bhave
2.1.0.RELEASE(2.1.0发布版本)
版本所有© 2012-2018
Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.eeee
这个文档的副本可以被你自己使用和分发给其他人使用,前提是你不为提供这些副本收取任何费用和并且每份副本都要包含本版权声明,无论是以印刷版还是电子版分发。
Part I. Spring Boot Documentation
This section provides a brief overview of Spring Boot reference documentation. It serves as a map for the rest of the document.
本节提供一个Springboot参考文档的简要概述。它用作文档剩余部分的一个映射
1. About the Documentation
关于文档
The Spring Boot reference guide is available as
springboot参考指南通过下面三种方式获得:
The latest copy is available at docs.spring.io/spring-boot/docs/current/reference.
最新的文档(副本)请查看docs.spring.io/spring-boot/docs/current/reference.(获得)
Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
这个文档的副本可以被你自己使用和分发给其他人使用,前提是你不为提供这些副本收取任何费用和并且每份副本都要包含本版权声明,无论是以印刷版还是电子版分发。
2. Getting Help
If you have trouble with Spring Boot, we would like to help.
如果你使用Spring boot遇到麻烦,我们很乐意提供帮助。
- Try the How-to documents. They provide solutions to the most common questions.
- 试着去看how-to document。他们提供了最常见问题的答案。
- Learn the Spring basics. Spring Boot builds on many other Spring projects. Check the spring.io web-site for a wealth of reference documentation. If you are starting out with Spring, try one of the guides.
- 学习spring基本的知识。spring boot 构建在许多其他的spirng project之上。查看spring.io网站以获取丰富的参考文档,如果你开始使用spring,请尝试其中的一个指南。
- Ask a question. We monitor stackoverflow.com for questions tagged with
spring-boot
. - 问一个问题。我们会收集stackoverflow.com 网站上带有spring-boot标记的问题。
- Report bugs with Spring Boot at github.com/spring-projects/spring-boot/issues.
- 在 github.com/spring-projects/spring-boot/issues上报告Spring boot的bug。
All of Spring Boot is open source, including the documentation. If you find problems with the docs or if you want to improve them, please get involved. 所有的spring boot都是开源的,包括文档。如果你发现文档中的问题或者你想去改善这些问题,欢迎参与其中。 |
3. First Steps
第一步
If you are getting started with Spring Boot or 'Spring' in general, start with the following topics:
如果要开始spring boot或者普通的spring,从下面的标题开始:
- From scratch: Overview | Requirements | Installation
- 从头开始: Overview | Requirements | Installation
- Tutorial: Part 1 | Part 2
- 教程:Part 1 | Part 2
- Running your example: Part 1 | Part 2
- 运行你的例子:Part 1 | Part 2
4. Working with Spring Boot
使用spring boot工作
Ready to actually start using Spring Boot? We have you covered:
准备好开始使用spring boot了吗?我们为你准备了下列内容:
- Build systems: Maven | Gradle | Ant | Starters
- 构建系统:Maven | Gradle | Ant | Starters
- Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection
- 最佳实践:Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection
- Running your code IDE | Packaged | Maven | Gradle
- 运行你的代码的工具: IDE | Packaged | Maven | Gradle
- Packaging your app: Production jars
- 打包你的应用:Production jars
- Spring Boot CLI: Using the CLI
5. Learning about Spring Boot Features
学习spring boot的功能
Need more details about Spring Boot’s core features? The following content is for you:
需要spring boot核心特征的更详细的内容吗?下列内容适合你:
- Core Features: SpringApplication | External Configuration | Profiles | Logging
- Web Applications: MVC | Embedded Containers
- Working with data: SQL | NO-SQL
- Messaging: Overview | JMS
- Testing: Overview | Boot Applications | Utils
- Extending: Auto-configuration | @Conditions
6. Moving to Production
转向生产
When you are ready to push your Spring Boot application to production, we have some tricks that you might like:
当你准备推送你的spring boot应用到生产环境的时候,我们有一些你喜欢的诀窍;
- Management endpoints: Overview | Customization
- Connection options: HTTP | JMX
- Monitoring: Metrics | Auditing | Tracing | Process
7. Advanced Topics
高级主题
Finally, we have a few topics for more advanced users:
最后,我们为更高级的用户提供了一些主题
- Spring Boot Applications Deployment: Cloud Deployment | OS Service
- Build tool plugins: Maven | Gradle
- Appendix: Application Properties | Auto-configuration classes | Executable Jars
到这里大致介绍了spring boot官方文档涉及到的功能要点,今天翻译到这,后续开始翻译入门部分内容。