- 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.
- EDA技術(shù)與VHDL編程
- 物聯(lián)網(wǎng)智慧安監(jiān)技術(shù)
- 物聯(lián)網(wǎng)概論(第2版)
- PLC、現(xiàn)場總線及工業(yè)網(wǎng)絡(luò)實(shí)用技術(shù)速成
- 數(shù)字通信同步技術(shù)的MATLAB與FPGA實(shí)現(xiàn):Altera/Verilog版(第2版)
- Master Apache JMeter:From Load Testing to DevOps
- 網(wǎng)絡(luò)利他行為研究:積極心理學(xué)的視角
- 網(wǎng)絡(luò)綜合布線(第2版)
- 設(shè)備監(jiān)控技術(shù)詳解
- 深入理解Nginx:模塊開發(fā)與架構(gòu)解析
- 組網(wǎng)技術(shù)與網(wǎng)絡(luò)管理
- TCP/IP基礎(chǔ)(第2版)
- Selenium WebDriver 3 Practical Guide
- 全聯(lián)網(wǎng)標(biāo)識服務(wù)
- Qt5 Python GUI Programming Cookbook