Business Delegate Pattern
Learn Business Delegate Pattern (Data Access Patterns, Enterprise Design Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is the Business Delegate Pattern? A Business Delegate is an object that hides the complexity of looking up and invoking a remote/complex business service (classically, an EJB lookup via JNDI) from the presentation-tier client. The client talks to a simple delegate; the delegate handles lookup, invocation, and even basic error/retry handling. • Decouples the presentation layer from the business-service layer's implementation details. • Centralizes lookup/connection logic in one place instead of scattering it across every UI action.