Skip to main content

Session Facade Pattern

Learn Session Facade Pattern (Data Access Patterns, Enterprise Design Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is the Session Facade Pattern? A Session Facade is a coarse-grained facade that exposes a simplified, unified interface to a set of fine-grained business objects, specifically for remote/presentation-tier clients. It's essentially the classic GoF Facade pattern, specialized for J2EE's remote-service-access context. • Reduces the number of remote calls a client needs to make (one call to the facade instead of many calls to fine-grained objects). • Hides the internal complexity/structure of the business-object model from remote clients.

More lessons in Data Access Patterns