According to the book I am reading, I understand this facts. Entity objects is like model objects in MVC which are responsible for maintaining data. Boundary objects are those which interact with external users, handling both input and output. In MVC, user input is detected by control objects, but the handling of output is the responsibility of view objects. That are the difference I have found. But when I do googling, many said that MVC is typically used in user interface design whereas ECB is most often used in business logic. What does that mean? MVC is just used for user interface? If so, what is the responsibility of the Controller and view object in MVC?
When to use MVC and ECB?
341 Views Asked by Ju Ju At
1
There are 1 best solutions below
Related Questions in MODEL-VIEW-CONTROLLER
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
- How to only let correct_user create or destroy?
- Google OAuth 2.0 .NET
- How to Minitest Controller :create action with Paperclip Validators
- Cannot get FullCalendar to work (Laravel 5)
- Enable/ Disable different sets of Controllers in based on mode specified at startup Spring MVC
Related Questions in UML
- UML design for a nodeJS web application
- Laravel MVC application structure on UML class diagram
- Database tables for tennis court booking system
- Interfaces in UML component diagram
- Is this correct UML Sequence diagram?
- Easiest way to get Class UML from java(android) files or project w/o eclipse. Reverse engineer
- What kind of pattern design would apply?
- How to define composition(boss, subordinate relationship)
- Using Aggregation in Inheritance
- Tools for generate sequence diagram(UML) from PHP class(files)
- What underlying difference makes Node Instances appear different?
- Representing LinkedLists in UML diagrams?
- Hashmap in UML diagram?
- class diagram for changes without new class/method?
- Sorting a collection of numbers
Related Questions in ECB-PATTERN
- ECB pattern - what is really a boundary?
- ECB pattern (Entity,Control,Boundary) implementation
- Java EE 6 Design Patterns
- ECB pattern: can I have print method in Entity?
- In UML class diagrams, what are Boundary Classes, Control Classes, and Entity Classes?
- EJB vs CDI and the "Entity Boundary Control" pattern
- Entity-Control-Boundary Pattern
- UML - Can subclass of a Boundary acts as controller?
- Are these classes considered as boundary, or entity?
- name of boundary control entity diagram
- (Entity-Control-Boundary pattern) -> How to deal with two entities?
- Is it possible to join 2 controller classes to 1 boundary class?
- UML Class Diagram
- What is the use of control classes?
- Storage layer and entity classes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The two architectural patterns have a different origin:
The two patterns have some similarities. Indeed, the BCE-Entity components have the same purpose than the MVC-Model components: managing the domain objects.
However there are subtil differences: the MVC-Controller is meant to capture all the user input, and the MVC-View the outputs. The BCE-Boundary is meant to cover the full user interface (input and output) and relate to the BCE-Controler, which coordinates the other BCE components for the purpose of a use-case/goal. In other words, the BCE-Controller is related to the business logic (i.e. the model in the MVC).
If the application covers only one use-case, the main difference will be the controller. But if an application covers several different use-cases, you'll end-up with a different architecture.
In practice, BCE did not really made it through in modern user interfaces, whereas MVC is still very popular thanks to some frameworks.