mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-24 10:25:17 +00:00
docs: service locator and service stub diagrams
This commit is contained in:
@@ -40,7 +40,6 @@ Architecture diagram
|
||||
|
||||

|
||||
|
||||
|
||||
## Programmatic Example of Service Layer Pattern in Java
|
||||
|
||||
Our Java implementation uses the Service Layer pattern to streamline interactions between data access objects (DAOs) and the business logic, ensuring a clean separation of concerns.
|
||||
@@ -358,10 +357,6 @@ INFO [2024-05-27 09:16:40,681] com.iluwatar.servicelayer.app.App: Find wizards
|
||||
INFO [2024-05-27 09:16:40,683] com.iluwatar.servicelayer.app.App: Aderlard Boud has 'Fireball'
|
||||
```
|
||||
|
||||
## Detailed Explanation of Service Layer Pattern with Real-World Examples
|
||||
|
||||

|
||||
|
||||
## When to Use the Service Layer Pattern in Java
|
||||
|
||||
* Use when you need to separate business logic from presentation logic.
|
||||
|
||||
Reference in New Issue
Block a user