Implementing Event Handling in C# with Publisher-Subscriber Pattern
Publisher-Subscriber Model
The publisher-subscriber pattern enables communication between components when a specific event occurs
Key participants:
Publisher: Class that defines and triggers events
Subscriber: Class that registers for event notifications
Event handler: Method executed when the publisher raises the event
Event Declaration
c ...
Posted on Thu, 20 Aug 2026 16:39:07 +0000 by cahamilton
Implementing Publisher-Subscriber Pattern with Java Flow API
For message processing in Java applications, developers often consdier heavyweight solutions like message queues. However, Java's built-in concurrency utilities can effectively handle many scenarios with lower overhead.
The java.util.concurrant.Flow API (introduced in Java 9) provides a lightweight alternative for implementing the publisher-sub ...
Posted on Mon, 18 May 2026 13:05:29 +0000 by kwilder