mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 16:14:58 +00:00
docs: builder, business-delegate, bytecode, caching, callback, chain diagrams
This commit is contained in:
1 parent
25f7bc6fea
commit
d5a46be3c5
12 files changed
+25
-12
No files matched your search
@@ -36,6 +36,10 @@ Wikipedia says
|
||||
|
||||
> Business Delegate is a Java EE design pattern. This pattern is directing to reduce the coupling in between business services and the connected presentation tier, and to hide the implementation details of services (including lookup and accessibility of EJB architecture). Business Delegates acts as an adaptor to invoke business objects from the presentation tier.
|
||||
|
||||
Sequence diagram
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Business Delegate Pattern in Java
|
||||
|
||||
The following Java code demonstrates how to implement the Business Delegate pattern. This pattern is particularly useful in applications requiring loose coupling and efficient service interaction.
|
||||
@@ -145,10 +149,6 @@ Here is the console output.
|
||||
21:15:33.794 [main] INFO com.iluwatar.business.delegate.YouTubeService - YouTubeService is now processing
|
||||
```
|
||||
|
||||
## Business Delegate Pattern Class Diagram
|
||||
|
||||

|
||||
|
||||
## When to Use the Business Delegate Pattern in Java
|
||||
|
||||
Use the Business Delegate pattern when
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
Reference in new issue
Block a user