Name

Composite Entity

Also Known As

Entity Façade

Goal

Efficiently represent a particular entity within the domain model, aggregating value from multiple sources or objects, in order to reduce complexity and communications overhead.

Notes

A composite entity aggregates data from a variety of sources into a single object. This is particularly useful in EJB environments, since it prevents a profusion of EJBs throughout the application.

Get J2EE Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.