Using Proxy pattern in Java project

Publicado em: 14 Setembro 2020
no canal de: Improve Your Programming skills
100
2

Proxy is a structural design pattern that allows you to perform something either before or after the request gets through to the original object.

Assume that we manage a store, when processing an order
if birthday of a user is greater than 2000 and he/she orders Beer products
then we don't process it.
Implementation steps
1. Create Product class
2. Create User class
3. Create IOrderProcessing interface
4. Create OrderProcessing class that implements IOrderProcessing interface
5. Create OrderProxyProcessing class that IOrderProcessing interface


Nesta página do site você pode assistir ao vídeo on-line Using Proxy pattern in Java project duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Improve Your Programming skills 14 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 100 vezes e gostou 2 espectadores. Boa visualização!