mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-19 03:26:07 +00:00
eb396217d0
- initial commit includes a simple and advanced example of Event-driven architecture
1.4 KiB
1.4 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:
