- 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.
- 物聯網智慧安監技術
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- 正在爆發的互聯網革命
- 互聯網安全的40個智慧洞見:2014年中國互聯網安全大會文集
- 大話社交網絡
- Spring 5.0 Projects
- IPv6網絡切片:使能千行百業新體驗
- React Cookbook
- 紅藍攻防:構建實戰化網絡安全防御體系
- 數據血緣分析原理與實踐
- 智能物聯安防視頻技術基礎與應用
- 物聯網概論
- 網絡分析技術揭秘:原理、實踐與WinPcap深入解析
- Twilio Cookbook(Second Edition)
- 物聯網:感知、傳輸與應用