Skip to main content
Composite Entity

Also known as

  • Coarse-Grained Entity

Intent

The Composite Entity design pattern is aimed at managing a set of interrelated persistent objects as if they were a single entity. It is commonly used in the context of Enterprise JavaBeans (EJB) and similar enterprise frameworks to represent graph-based data structures within business models, enabling clients to treat them as a single unit.


iluwatarAbout 2 minStructuralClient-serverData accessEnterprise patterns
Composite View

Intent

The primary goal of the Composite View design pattern is to compose objects into tree structures to represent part-whole hierarchies. This allows clients to treat individual objects and compositions of objects uniformly, simplifying the management of complex structures.

Explanation


iluwatarAbout 5 minStructuralEnterprise patternsPresentation
Embedded Value

Also known as

  • Aggregate Mapping
  • Composer
  • Inline Value
  • Integrated Value

Intent

The Embedded Value design pattern aims to enhance performance and reduce memory overhead by storing frequently accessed immutable data directly within the object that uses it, rather than separately.


iluwatarAbout 2 minBehavioralData accessEnterprise patternsOptimizationPerformance
Event-Driven Architecture

Also known as

  • Event-Driven System
  • Event-Based Architecture

Intent

Event-Driven Architecture (EDA) is designed to orchestrate behavior around the production, detection, consumption of, and reaction to events. This architecture enables highly decoupled, scalable, and dynamic interconnections between event producers and consumers.


iluwatarAbout 3 minArchitecturalAsynchronousDecouplingEnterprise patternsEvent-drivenMessagingPublish/subscribeReactiveScalability
Front Controller

Also known as

  • Centralized Request Handling

Intent

The Front Controller design pattern aims to provide a centralized entry point for handling all incoming web requests, ensuring that request handling is managed consistently and efficiently across an application.


iluwatarAbout 2 minArchitecturalArchitectureDecouplingEnterprise patternsLayered architectureWeb development
Gateway

Also known as

  • Service Gateway

Intent

The Gateway design pattern aims to encapsulate the interaction with a remote service or external system, providing a simpler and more unified API to the rest of the application.

Explanation

Real-world example


iluwatarAbout 2 minIntegrationAPI designData accessDecouplingEnterprise patterns