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

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

主站蜘蛛池模板: 攀枝花市| 沙湾县| 临漳县| 安岳县| 公安县| 孙吴县| 台安县| 汉中市| 泽库县| 涡阳县| 洛阳市| 西和县| 景东| 盖州市| 花莲县| 襄樊市| 太康县| 通化市| 宣化县| 巴林右旗| 阿坝| 平顶山市| 五原县| 临夏市| 孟津县| 中牟县| 太仆寺旗| 河间市| 湄潭县| 莱西市| 陕西省| 光泽县| 洱源县| 邵武市| 丹棱县| 承德市| 江源县| 信宜市| 伊宁市| 清水河县| 县级市|