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

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).

主站蜘蛛池模板: 达孜县| 应城市| 永新县| 西平县| 龙岩市| 锡林郭勒盟| 原平市| 永昌县| 泗阳县| 荥经县| 苏尼特右旗| 汨罗市| 清水河县| 富民县| 正定县| 岳池县| 探索| 秀山| 定结县| 舟山市| 迭部县| 商都县| 界首市| 郓城县| 巴青县| 共和县| 桓台县| 咸宁市| 隆昌县| 康乐县| 仁布县| 屯昌县| 长寿区| 南澳县| 黄梅县| 新巴尔虎左旗| 姜堰市| 宝山区| 包头市| 砀山县| 察哈|