- 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.
- 物聯(lián)網(wǎng)網(wǎng)絡安全及應用
- Truffle Quick Start Guide
- 網(wǎng)絡互聯(lián)技術(實踐篇)
- 物聯(lián)網(wǎng)時代
- PLC、現(xiàn)場總線及工業(yè)網(wǎng)絡實用技術速成
- 計算機網(wǎng)絡工程實用教程(第2版)
- 計算機網(wǎng)絡技術及應用
- Microsoft Power Platform Enterprise Architecture
- Dart Cookbook
- React Design Patterns and Best Practices(Second Edition)
- 物聯(lián)網(wǎng)技術與實踐
- 網(wǎng)絡空間作戰(zhàn):機理與籌劃
- 智慧的物聯(lián)網(wǎng):感知中國和世界的技術
- 邊緣計算及其資源管理技術
- 天下一家:網(wǎng)絡聯(lián)通世界(科學新導向叢書)