API Design Patterns
Default Pattern
We keep default generated Spring Java API Design Pattern as per below, with Service Layer - For Business Logic.
Request | ⇔ | Controller | ⇔ | Service | ⇔ | Repository | ⇔ | Entity |
info
Layers in this Pattern:
- Presentation Layer
- Controller
- Business Layer: Business Logic, Validations
- Service Layer
- Data Access | Persistence Layer
- Repository
- Entity
Introducing Layers in Design Patterns
Low-code Customize - Add Layers
Add Layers
Add layers for example,
- DTO
- Validations
- Identifiers
- Transformations, etc via Extend In-place Templates
Please refer to this page for details on various customizations including Adding DTO Layer APIs Customize