Design patterns in enterprise applications
This section will discuss common uses of design patterns in enterprise applications. We will again explore different patterns to those mentioned before, even though those patterns can also have applications in this domain. For this section, we’ll use a Customer Relationship Management (CRM) application to create and manage user accounts, as a driving example. In this context, let’s consider the following five patterns:
- Service-Oriented Architecture (SOA): The SOA pattern separates responsibilities for different tasks. Each task is implemented by an independent, reusable object that is easier to deploy and reuse.
- Dependency Injection (DI): The DI pattern can manage object dependencies. Objects are created using a container that can inject dependencies and manage their life cycle, making it easier to orchestrate complex operations and test complex systems.
- Model-View-Controller (MVC): The MVC pattern can be used...