Please enable JavaScript.
Coggle requires JavaScript to display documents.
Structural - Coggle Diagram
Structural
Façade
-
-
-
-
Sometimes we use Business Logic Layer (@Service) in spring to collect and process Data Access Layer(@Repository) information and give the processed information to Presentation Layer (@Controller)
In Spring, Services are Façades
-
Composite
-
-
File System, when Directory (composite) can be conformed by BinaryFile instances.
Flyweight
-
-
We define methods that takes extrinsic state as argument to provide functionality public do(String extrinsicState).
Proxy
Aspect Oriented Programming: with spring lets you define advices which internally implements a proxy to intercept before and after some action is executed.
Lazy Loading: JPA allow us to do a lazy loading, the returned object gets data only when it is really required.
-
Adapter
We have an existing object with required functionality but client code is expecting a different interface.
-
Bridge
-
We have an Abstraction interface required by client code, but we internally delegate all the implementations o other Implementor interface hirerarchy.
-