Reactive Programming
We continue to learn the Java functional programming paradigm in this chapter because some of the upcoming recipes will still require the APIs of java.util.function while building Reactive web components and Stream-based transactions.
This chapter discusses some of the new APIs needed to create Java events that are discrete, asynchronous, and non-blocking which are used in communication between a message sender and the recipient in many applications. This communication will eventually create a loosely-coupled and message-driven environment involving one or more Streams of Object. The model sounds similar to building message-driven transactions in Java Message Service (JMS) and Advanced Message Queuing Protocol (AMQP
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access