Session Facade
Definition
Provide a simple class or component that represents or contains interactions between complex components
Where to use & benefits
- EJB session bean
- Provides a single & simple interface for complex system or components
- Simplify the process
- Clarify design
- Flexible and comprehensible
- Loosely coupling
- Related patterns include
- Facade make a complex system simpler by providing a unified or general interface, which is a higher layer.
Example
Provide a step by step process for a complex system. For example, let a component or user access a complex system by exposing a simple or a unified interface to hide complexity to reach a loose coupling and flexible interaction.
Return to top