2015-08-13 23:54:40 +02:00
|
|
|
---
|
|
|
|
layout: pattern
|
|
|
|
title: Business Delegate
|
|
|
|
folder: business-delegate
|
2015-08-15 18:03:05 +02:00
|
|
|
permalink: /patterns/business-delegate/
|
2015-08-20 21:40:07 +02:00
|
|
|
categories: Business Tier
|
2015-12-28 15:52:44 +02:00
|
|
|
tags:
|
|
|
|
- Java
|
|
|
|
- Difficulty-Intermediate
|
2015-08-13 23:54:40 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
**Intent:** The Business Delegate pattern adds an abstraction layer between
|
|
|
|
presentation and business tiers. By using the pattern we gain loose coupling
|
|
|
|
between the tiers and encapsulate knowledge about how to locate, connect to,
|
|
|
|
and interact with the business objects that make up the application.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
**Applicability:** Use the Business Delegate pattern when
|
|
|
|
|
|
|
|
* you want loose coupling between presentation and business tiers
|
|
|
|
* you want to orchestrate calls to multiple business services
|
2015-08-15 18:03:05 +02:00
|
|
|
* you want to encapsulate service lookups and service calls
|