Draw a class diagram for this system. Use a client-side proxy to encrypt the data using an encrypt operation, and use a server side proxy to decrypt the data.
computer science
Description
In a client-server system for a hypothetical banking application, the clients are ATM machines,
and the server is the bank server. Suppose that the client has two operations: withdraw and
deposit. Use the broker architectural pattern to document an initial architecture design for this
system:
1-Draw a class diagram for this system. Use a client-side proxy to encrypt the data using an
encrypt operation, and use a server side proxy to decrypt the data.
2- Draw a sequence diagram for this system.
3- Suppose that we want greater availability of the server, discuss what kind of tactics you should
use to achieve that.
Question#2: (4 points)
You are given a class that processes the purchases for an online store. The class receives calls to
retrieve the prices for items from a database, records the sold items, updates the database, and
refreshes the webpage. What architectural pattern is suitable for this? Illustrate your answer by
drawing a model for the solution, showing the method calls/events. Comment on how applying
the pattern will impact the modifiability of the system.