一起养成写作习惯!这是我参与「掘金日新计划 · 4 月更文挑战」的第4天,点击查看活动详情。
前言
用Spring创建WEB应用常见的一些WEB应用。
WEB应用
1. Spring Web
用SpringBoot构建包含RestFul协议接口的应用程序,内嵌Tomcat容器。这个我们平时工程应用的比较多,比如常见微服务都是基于Spring Web创建的应用程序。
2. Spring Reactive Web
使用Spring WebFlux和Netty构建反应式web应用程序。常见一些网关就是用的响应式Web。
Spring Boot其实拥有了两套不同的web框架,第一套框架是基于传统的Servlet API和Spring MVC,第二套是基于最新的reactive框架,包括 Spring WebFlux 和Spring Data的reactive repositories。
3. Spring GraphQL
4. Rest Repositories
Exposing Spring Data repositories over REST via Spring Data REST.
5. Spring Session
Provides an API and implementations for managing user session information. 提供用于管理用户会话信息的API和实现。
6. Rest Repositories HAL Explore
7. Spring HATEOAS
Eases the creation of RESTful APIs that follow the HATEOAS principle when working with Spring / Spring MVC.
8. Spring Web Services
Facilitates contract-first SOAP development. Allows for the creation of flexible web services using one of the many ways to manipulate XML payloads.
9. Jersey
Framework for developing RESTful Web Services in Java that provides support for JAX-RS APIs.
10. Vaadin
A web framework that allows you to write UI in pure Java without getting bogged down in JS, HTML, and CSS.