随着微服务的流行,Spring Boot/Cloud的崛起,Spring Source几乎再一次要成为Java的代名词。那么我们如何才能快速的学习和入门Spring呢?除了很多国内高手编写的一些教程之外,有没有更为官方的指导呢?实际上,在Spring官方网站中是有非常优秀的教程页面的:https://spring.io/guides。
但是由于该教程内容均是英文的,所以只有少部分人会关注这里。所以,我们SpringForAll社区计划开始组织对这部分高质量内容的翻译工作,以促进Spring这样优秀的框架在国内的发展!由衷的希望Spring大生态变得越来越强大!
协作参与
交流社区:SpringForAll社区
Github:https://github.com/SpringForAll/spring-guides-translation
组织人:程序猿DD
如何认领
下面列举了当前所有教程列表,有兴趣的小伙伴们可以联系我(微信:zhaiyongchao1987)参与翻译或校对工作。对该内容感兴趣的小伙伴们也欢迎给予Star支持~
关于翻译的一些规范如下:
翻译文件格式:markdown
文件名格式:原文标题.md
提交以Pull Request方式提交,每篇文章在他比较PR之后,必须找一位校对人员校对之后才能发布(翻译保证质量)
翻译内容包含:标题、简介、正文
文章摘要部分采用如下的固定格式:
原文:Securing a Web Application译者:徐靖峰校对:程序猿DD
文章末尾使用统一的版权声明:
本文由spring4all.com翻译小分队创作,采用知识共享-署名-非商业性使用-相同方式共享 4.0 国际 许可协议进行许可。
翻译内容
待翻译内容有如下三个部分:
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. In most cases, the only prerequisites are a JDK and a text editor.
标题 | 简介 |
---|---|
Building a RESTful Web Service | Learn how to create a RESTful web service with Spring. |
Scheduling Tasks | Learn how to schedule tasks with Spring. |
Consuming a RESTful Web Service | Learn how to retrieve web page data with Spring's RestTemplate. |
Building Java Projects with Maven | Learn how to build a Java project with Gradle. |
Accessing Relational Data using JDBC with Spring | Learn how to access relational data with Spring. |
Uploading Files | Learn how to build a Spring application that accepts multi-part file uploads. |
Authenticating a User with LDAP | Learn how to secure an application with LDAP. |
Registering an Application with Facebook | Learn how to register an application to integrate with Facebook. |
Messaging with Redis | Learn how to use Redis as a message broker. |
Registering an Application with Twitter | Learn how to register apps with Twitter. |
Messaging with RabbitMQ | Learn how to create a simple publish-and-subscribe application with Spring and RabbitMQ. |
Accessing Twitter Data | Learn how to access user data from Twitter. |
Accessing Facebook Data | Learn how to access Facebook information from an application. |
Accessing Data with Neo4j | Learn how to persist objects and relationships in Neo4j's NoSQL data store. |
Validating Form Input | Learn how to perform form validation with Spring. |
Building a RESTful Web Service with Spring Boot Actuator | Learn how to create a RESTful Web service with Spring Boot Actuator. |
Messaging with JMS | Learn how to publish and subscribe to messages using a JMS broker. |
Creating a Batch Service | Learn how to create a basic batch-driven solution. |
Securing a Web Application | Learn how to protect your web application with Spring Security. |
Building a Hypermedia-Driven RESTful Web Service | Learn how to create a hypermedia-driven RESTful Web service with Spring. |
Accessing Data with GemFire | Learn how to build an application using Gemfire's data fabric. |
Integrating Data | Learn how to build an application that uses Spring Integration to fetch data, process it, and write it to a file. |
Caching Data with GemFire | Learn how to cache data in GemFire. |
Managing Transactions | Learn how to wrap key parts of code with transactions. |
Accessing Data with JPA | Learn how to work with JPA data persistence using Spring Data JPA. |
Accessing Data with MongoDB | Learn how to persist data in MongoDB. |
Serving Web Content with Spring MVC | Learn how to create a web page with Spring MVC. |
Converting a Spring Boot JAR Application to a WAR | Learn how to convert your Spring Boot JAR-based application to a WAR file. |
Creating Asynchronous Methods | Learn how to create asynchronous service methods. |
Handling Form Submission | Learn how to create and submit a web form with Spring. |
Building an Application with Spring Boot | Learn how to build an application with minimal configuration. |
Using WebSocket to build an interactive web application | Learn how to the send and receive messages between a browser and the server over a WebSocket |
Working a Getting Started guide with STS | Learn how to import a Getting Started guide with Spring Tool Suite (STS). |
Consuming a RESTful Web Service with AngularJS | Learn how to retrieve web page data with AngularJS. |
Consuming a RESTful Web Service with rest.js | Learn how to retrieve web page data with rest.js. |
Consuming a RESTful Web Service with jQuery | Learn how to retrieve web page data with jQuery. |
Enabling Cross Origin Requests for a RESTful Web Service | Learn how to create a RESTful web service with Spring that support Cross-Origin Resource Sharing (CORS). |
Building Spring YARN Projects with Gradle | Learn how to build a Spring YARN Project with Gradle |
Building Spring YARN Projects with Maven | Learn how to build a Spring YARN Project with Maven |
Simple YARN Application | Learn how to build a simple Spring YARN application |
Testing YARN Application | Learn how to test a Spring YARN application |
Batch YARN Application | Learn how to build a Spring Batch YARN application |
Restartable Batch YARN Application | Learn how to build a restartable Spring Batch YARN application |
Consuming a SOAP web service | Learn how to create a client that consumes a WSDL-based service |
Accessing JPA Data with REST | Learn how to work with RESTful, hypermedia-based data persistence using Spring Data REST. |
Accessing Neo4j Data with REST | Learn how to work with RESTful, hypermedia-based data persistence using Spring Data REST. |
Accessing MongoDB Data with REST | Learn how to work with RESTful, hypermedia-based data persistence using Spring Data REST. |
Accessing GemFire Data with REST | Learn how to work with RESTful, hypermedia-based data persistence using Spring Data REST. |
Producing a SOAP web service | Learn how to create a SOAP-based web service with Spring. |
Simple Single Project YARN Application | Learn how to build a simple Spring YARN application |
Caching Data with Spring | Learn how to cache data in memory with Spring |
Deploying to Cloud Foundry from STS | Learn how to deploy a Spring application to Cloud Foundry from STS |
Spring Boot with Docker | Learn how to create a Docker container from a Spring Boot application with Maven or Gradle |
Working a Getting Started guide with IntelliJ IDEA | Learn how to work a Getting Started guide with IntelliJ IDEA. |
Creating CRUD UI with Vaadin | Use Vaadin and Spring Data JPA to build a dynamic UI |
Service Registration and Discovery | Learn how to register and find services with Eureka |
Centralized Configuration | Learn how to manage application settings from an external, centralized source |
Routing and Filtering | Learn how to route and filter requests to a microservice using Netflix Zuul |
Circuit Breaker | Learn how to degrade gracefully services using Hystrix |
Client Side Load Balancing with Ribbon and Spring Cloud | Dynamically support services coming up and going down without interrupting the client |
Testing the Web Layer | Learn how to test Spring Boot applications and MVC controllers. |
Accessing data with MySQL | Learn how to set up and manage user accounts on MySQL and how to configure Spring Boot to connect to it at runtime. |
Creating a Multi Module Project | Learn how to build a library and package it for consumption in a Spring Boot application |
Creating API Documentation with Restdocs | Learn how to generate documentation for HTTP endpoints using Spring Restdocs |
Topical Guides
Designed to be read and comprehended in an hour or less, providing more wide-ranging or subjective content than a getting started guide.
标题 | 简介 |
---|---|
Spring Security Architecture | Topical guide to Spring Security, how the bits fit together and how they interact with Spring Boot |
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.
标题 | 简介 |
---|---|
Building REST services with Spring | Learn how to easily build, test, and secure RESTful services with Spring |
Spring Security and Angular JS | A tutorial on how to use Spring Security with a single page application with various backend architectures, ranging from a simple single server to an API gateway with OAuth2 authentication. |
React.js and Spring Data REST | A tutorial based on the 5-part blog series by Greg Turnquist |
Spring Boot and OAuth2 | A tutorial on "social" login and single sign on with Facebook and Github |