- Spring 5.0 Projects
- Nilang Patel
- 192字
- 2021-07-02 12:35:07
Reactive span across Spring modules
By introducing a reactive web framework, WebFlux , Spring also made necessary changes in other modules to provide first-class support for WebFlux. Spring Boot, Spring Security, Thymeleaf, and Spring Data are among the few modules that are equipped with WebFlux capabilities. This can be described with the following diagram:

Spring Data has adopted a reactive paradigm and started supporting infinite streams from the database with the @Tailableannotation. Spring Data JPA is mostly associated with RDBMS, which is blocking in nature so it cannot support Reactive Programming.
Spring MVC is inherently blocking in nature; however, we can use Reactive Programming for some of the parts, which can be converted to be reactive. For example, the Spring MVC controller can be equipped with the Flux and Mono types to handle the data stream in a reactive way.
Apart from this, a few annotations like @Controller, @RequestMapping, and so on are supported in WebFlux so you can convert a Spring MVC application to WebFlux in an incremental manner. We will see more details about reactive support in Spring Framework through WebFlux by creating a sample application.
- Mastering Node.js(Second Edition)
- 無(wú)人機(jī)通信
- 網(wǎng)絡(luò)的琴弦:玩轉(zhuǎn)IP看監(jiān)控
- Building RESTful Web Services with Spring 5(Second Edition)
- 大話(huà)社交網(wǎng)絡(luò)
- React:Cross-Platform Application Development with React Native
- Yii Application Development Cookbook(Second Edition)
- 城域網(wǎng)與廣域網(wǎng)(第2版)
- 6G:面向2030年的移動(dòng)通信
- Scala Design Patterns.
- 端到端QoS網(wǎng)絡(luò)設(shè)計(jì)
- TCP/IP基礎(chǔ)(第2版)
- 5G非正交多址接入技術(shù):理論、算法與實(shí)現(xiàn)
- 精通SEO:100%網(wǎng)站流量提升密碼
- Guide to NoSQL with Azure Cosmos DB