mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 07:26:49 +00:00
321e9d4191
- added class diagram - added more comments
1.5 KiB
1.5 KiB
layout: pattern title: Event Driven Architecture folder: event-driven-architecture permalink: /patterns/event-driven-architecture
Intent: Send and notify state changes of your objects to other applications using an Event-driven Architecture.
Applicability: Use an Event-driven architecture when
- you want to create a loosely coupled system
- you want to build a more responsive system
- you want a system that is easier to extend
Real world examples:
- A Loan Application has been accepted/rejected (Commercial Business).
- A new Rostering Schedule is ready for distribution to all crew (Airline Management System).
- An Illegal Trade Pattern has been detected (Trading Fraud Detection System).
- A simulated car has hits another simulated car (Commercial Racing Game).
- A robot has reached its destination (Real Time Warehouse Management System).
- A HTML message has been received (Web Server).
- A key has been pressed (Text Editor).
Credits:
