0% found this document useful (0 votes)
5 views1 page

Basic Structure of Publisher/Subscriber Design Pattern

The document discusses the Publisher/Subscriber design pattern, highlighting its basic structure and advantages. Key benefits include configurability, extensibility, reuse, support for multiple infrastructures, variability, and the ability to handle multiple event channels. An example involving hotel staff and customers illustrates the practical application of this pattern in event management.

Uploaded by

thorat_496512597
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Basic Structure of Publisher/Subscriber Design Pattern

The document discusses the Publisher/Subscriber design pattern, highlighting its basic structure and advantages. Key benefits include configurability, extensibility, reuse, support for multiple infrastructures, variability, and the ability to handle multiple event channels. An example involving hotel staff and customers illustrates the practical application of this pattern in event management.

Uploaded by

thorat_496512597
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Optional

Optional Distribution
Distribution Boundary
Boundary
Publisher Subscriber

Event
Publisher Channel Subscriber

Events

Publisher Subscriber

Fig: Basic structure of Publisher/Subscriber Design Pattern

Merits/Advantages of Publisher/Subscriber Design Patterns:

 Configurability: The Combination of plugins and extensible languages


provide coherent composition of interdependent features.
 Extensibility: New features can be provided by extending the language and
implementing new plug ins and filters.
 Reuse: It can speedup the development process
 Support for multiple infrastructures: Allows different publish/subscribe
cores to be installed at same time.
 Variability: They are also allocated according to the application needs.
 Multiple event channels: Permit multiple event representations to co-exist.

events
EXAMPLE:
Wake up/
Hotel Staff Customer
telephone

Event Scope
Hotel Staff Channel Customer

events

Hotel Staff Customer

Publisher Subscriber

You might also like