Skip to content
Related Articles
Open in App
Not now

Related Articles

Software Engineering | Domain Modeling

Improve Article
Save Article
  • Difficulty Level : Hard
  • Last Updated : 14 Jun, 2022
Improve Article
Save Article

Domain Modeling is understood as abstract modeling. a site model could be an illustration of the ideas or objects shown within the drawback domain. It additionally captures the apparent relationships among these objects. samples of such abstract objects area unit the Book, BookRegister, member register, LibraryMember, etc. The counseled strategy is to quickly produce a rough abstract model wherever the stress is finding the apparent ideas expressed within the needs whereas deferring an in-depth investigation. Later throughout the event method, the abstract model is incrementally refined and extended. The 3 sorts of objects are known throughout domain analysis. The objects known throughout domain analysis are classified into 3 types:

  1. Boundary objects
  2. Controller objects
  3. Entity objects

The boundary and controller objects are consistently known from the employment case diagram whereas the identification of entity objects needs to apply. So, the crux of the domain modeling activity is to spot the entity models.

The purpose of various sorts of objects known throughout domain analysis and the way these objects move among one another.

The different styles of objects known throughout domain analysis and the area of their relationship unit as follows:

  • Boundary objects: The boundary objects area unit those with that the actors move. These embrace screens, menus, forms, dialogs, etc. The boundary objects area unit is chiefly answerable for user interaction. Therefore, they ordinarily don’t embrace any process logic. However, they will be answerable for confirming inputs, formatting, outputs, etc. The boundary objects were earlier known as because of the interface objects. However, the term interface category is getting used for Java, COM/DCOM, and UML with completely different means. A recommendation for the initial identification of the boundary categories is to outline one boundary category per actor/use case try.
  • Entity objects: These ordinarily hold info like information tables and files that require to outlast use case execution, e.g. Book, BookRegister, LibraryMember, etc. several of the entity objects area unit “dumb servers”. they’re ordinarily answerable for storing information, winning information, and performing some elementary styles of operation that don’t amendment usually.
  • Controller objects: The controller objects coordinate the activities of a collection of entity objects and interface with the boundary objects to produce the general behavior of the system. The responsibilities appointed to a controller object area unit are closely associated with the belief of a particular use case. The controller objects effectively decouple the boundary and entity objects from each other creating a system tolerant to changes in the computer program and process logic. 
    The controller objects embody most of the logic committed to the employment case realization (this logic might amendment time to time). A typical interaction of a controller object with boundary and entity objects is shown below(figure) Normally, every use case is complete victimization of one controller object. However, some use cases are complete while not victimization any controller object, i.e. through boundary and entity objects solely. This is often true to be used cases that win just some easy manipulation of the hold on info. 
    For example, let’s take into account the “query book availability” use case of the Library data system (LIS). Realization of the employment case involves solely matching the given book name against the books offered within the catalog. additional complicated use cases might need quite one controller object to understand the employment case. a fancy use case will have many controller objects like group action manager, resource arranger, and error handler. there’s another state of affairs wherever a use case will have quite one controller object. generally, the employment cases need the controller object to transit through a variety of states. In such cases, one controller object may need to be created for every execution of the employment case. 
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!