I want to implement a project in Java, where I have several sources of events (Threads). Such an event source performs a specific task and had to notify of a unique event handler (Class), and it needs to perform other tasks in accordance with the notification of event sources.
My question is: how to implement this desiqn appropriately in Java? Is there a design similar to this design?
Thanks in advance:).
java multithreading event-handling design-patterns
Zakaria
source share