docs: builder, business-delegate, bytecode, caching, callback, chain diagrams

This commit is contained in:
Ilkka Seppälä committed 2025-04-06 09:00:19 +03:00
1 parent 25f7bc6fea
commit d5a46be3c5
12 files changed
+25 -12

No files matched your search

+4 -4
View File
@@ -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
![Business Delegate sequence diagram](./etc/business-delegate-sequence-diagram.png)
## 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
![Business Delegate](./etc/business-delegate.urm.png "Business Delegate")
## 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