Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There exist two servers S 1 and S 2 . Both servers support the following services: Services supported by server S 1 : int SetPrice

There exist two servers S1 and S2. Both servers support the following services:
Services supported by server S1:
int SetPrice(string, float)
float GetPrice(string)
void BuyStock(string, int)
void SellStock(string, int)
Services supported by server S2:
int SetPrice(string, int)
float GetPrice(string)
void BuyStock(int, string)
void SellStock(string, int)
int SetPrice(string, float)
There exist two servers S1 and S2. Both servers support the following services:
Services supported by server S1: int SetPrice(string, float)
float GetPrice(string)
void BuyStock(string, int)
void SellStock(string, int)
Services supported by server S2: int SetPrice(string, int)
float GetPrice(string)
void BuyStock(int, string)
void SellStock(string, int) int SetPrice(string, float)
There exist two client processes and they request the following services:
Client-A
int SetPrice(string, float) float GetPrice(string) void BuyStock(int, string) void SellStock(string, int)
Client-B
int SetPrice(string, int) float GetPrice(string) void BuyStock(string, int) void SellStock(string, int)
The client processes do not know the location (pointer) of servers that may provide these services. Devise a software architecture using a Client-Broker-Server architecture for this problem. In this design, the client processes are not aware of the location of the servers providing these services.
Provide a class diagram for the proposed architecture. In your design, all components should be decoupled as much as possible.
Provide the pseudocode for all operations of the following components/classes: o Broker
o Client Proxy of Client-A
o Server Proxy of server S1.
Provide a sequence diagram to show how Client-A gets int SetPrice(string, float service.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Find the limit. lim x1 x 1

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago