March 28, 2019

Entity Control Boundary (ECB) Pattern

Introduction

The Entity Control Boundary (ECB) pattern is and old pattern that was published by Ivar Jacobson (Ericsson Co.) in 80's. It is has things in common with the Model View Controller (MVC) Pattern that was published by Trygve Reenskaug (XEROX Co.) in 70's. The MVC pattern is mainly used in User Interface, where the ECB is a general pattern to structure your backend.

Entity Control Boundary (ECB) Pattern

The ECB Pattern is built up by

  • Boundary - the API for your component. Today typically a REST API, but could be Web Service, JMS, etc. It is the external interface for your component.
  • Control - encapsulate the Logic for your component.
  • Entity - -the Model
https://stackoverflow.com/questions/683825/in-uml-class-diagrams-what-are-boundary-classes-control-classes-and-entity-cl


Example of ECB


https://creately.com/diagram/example/hav994lu1/Boundary%20Control%20Entity


Comparison between ECB and MVC Pattern


https://stackoverflow.com/questions/26910974/model-view-controller-vs-boundary-control-entity


No comments: