Using Proxy pattern in Java project

Published: 14 September 2020
on channel: 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


On this page of the site you can watch the video online Using Proxy pattern in Java project with a duration of hours minute second in good quality, which was uploaded by the user Improve Your Programming skills 14 September 2020, share the link with friends and acquaintances, this video has already been watched 100 times on youtube and it was liked by 2 viewers. Enjoy your viewing!