© Iuliana Cosmina 2022
I. CosminaJava 17 for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-7080-6_12

12. The Publish-Subscribe Framework

Iuliana Cosmina1  
(1)
Edinburgh, UK
 
All the programming concepts explained so far in the book involved data that needed to be processed. Regardless of the form in which data is provided, the Java programs we’ve written so far took that data, modified it, and printed out the results, whether to console, files, or another software component. You could say that all these components were communicating with each other and passing processed data from one to another. For example, take Figure 12-1, which abstractly describes the interaction between Java components in a program.
Figure 12-1

Interactions between Java ...

Get Java 17 for Absolute Beginners: Learn the Fundamentals of Java Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.