官术网_书友最值得收藏!

How it works...

Because of the usage of Spring Boot we can take advantage of projects like Spring MVC and Spring Security. These Spring projects help us to write web applications, REST APIs, and help us to secure our applications. By using the Spring Security OAuth2 project, for example, we can configure our own OAuth 2.0 Providers in addition, to act like clients. This is important because someone trying to write his own OAuth Provider will have to deal with too many details which could easily lead to an insecure OAuth Provider. Spring Security OAuth2 already addresses the main concerns any developer would have to think about.

In addition, Spring Boot eases the initial steps for the bootstrap of the application. When creating a Spring project without Spring Boot we need to deal with dependencies manually by taking care of possible library conflicts. To solve this problem, Spring Boot has some pre-configured modules provided by starters. As an example of a useful starter, let's consider an application with Spring Data JPA. Instead of declaring all the dependencies for hibernate, entity-manager, and transaction-api, just by declaring spring-boot-starter-data-jpa all the dependencies will be imported automatically.

While starting using Spring Boot, things can still become easier by using the Spring Initializr service provided by Pivotal (the Spring maintainer now).

主站蜘蛛池模板: 鄂托克旗| 江油市| 鲁甸县| 综艺| 赤城县| 呼玛县| 静宁县| 恩施市| 阳高县| 大邑县| 老河口市| 通辽市| 威远县| 二手房| 岳阳市| 米泉市| 石家庄市| 浪卡子县| 乳山市| 望谟县| 伊春市| 富川| 宣城市| 鄂尔多斯市| 麻栗坡县| 新晃| 杭锦后旗| 黄浦区| 吉林省| 台安县| 奉新县| 大庆市| 冀州市| 游戏| 邵阳县| 同江市| 康乐县| 丰宁| 铁岭市| 玛曲县| 潜江市|