- Hands-On Reactive Programming in Spring 5
- Oleh Dokuka Igor Lozynskyi
- 165字
- 2021-07-23 16:36:18
Early reactive solutions in Spring
We have previously mentioned that there are a lot of patterns and programming techniques that are capable of becoming building blocks for the reactive system. For example, callbacks and CompletableFuture are commonly used to implement the message-driven architecture. We also mentioned reactive programming as a prominent candidate for such a role. Before we explore this in more detail, we need to look around and find other solutions that we have already been using for years.
In Chapter 1, Why Reactive Spring?, we saw that Spring 4.x introduced the ListenableFuture class, which extends the Java Future and makes it possible to leverage the asynchronous execution of operations such as HTTP requests. Unfortunately, only a handful of Spring 4.x components support the newer Java 8 CompletableFuture, which introduces some neat methods for asynchronous execution composition.
Nevertheless, Spring Framework provides other bits of infrastructure that will be very useful for building our reactive application. Let's look through some of these features now.
- 網絡協議工程
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- 互聯網安全的40個智慧洞見:2014年中國互聯網安全大會文集
- 通信簡史:從信鴿到6G+
- React:Cross-Platform Application Development with React Native
- Spring 5.0 Projects
- Microservice Patterns and Best Practices
- 光纖通信系統與網絡(修訂版)
- 紅藍攻防:構建實戰化網絡安全防御體系
- 端到端QoS網絡設計
- 網絡工程實施技術與方案大全
- 人人都該都懂的互聯網思維
- AIoT應用開發與實踐
- 云工廠:開啟中國制造云時代
- 新IP:面向泛在全場景的未來數據網絡