GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DesignPattern/Java/data-bus at master · feixiao/DesignPattern

Expand file tree

/

data-bus

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

data-bus

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
etc
etc
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline
layout pattern
title Data Bus
folder data-bus
permalink /patterns/data-bus/
categories Architectural
tags
Java
Difficulty-Intermediate

Intent

Allows send of messages/events between components of an application without them needing to know about each other. They only need to know about the type of the message/event being sent.

data bus pattern uml diagram

Applicability

Use Data Bus pattern when

  • you want your components to decide themselves which messages/events they want to receive
  • you want to have many-to-many communication
  • you want your components to know nothing about each other

Related Patterns

Data Bus is similar to

  • Mediator pattern with Data Bus Members deciding for themselves if they want to accept any given message
  • Observer pattern but supporting many-to-many communication
  • Publish/Subscribe pattern with the Data Bus decoupling the publisher and the subscriber
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.