Explain the client- server interface using procedures, Computer Engineering

Assignment Help:

Explain the Client- Server Interface Using Procedures

Developers must realize that client-server impose a division of labor in application programs. Programs must be broken up into components, each communicating with the other through well-defined interfaces. These interface boundaries may be the procedures within the program and may hide the fact that the functions may be executing on or communicating with other machines. Components may interact via a Request/Response mechanism implemented at the procedure level.

This is the scenario employed by RPCs and their related technologies. A procedure makes a request of another to provide some service of which it expects results to be returned. There is a clear definition of the request and response components, and the only overlap of the two is the parameters they pass and return. These responding procedures can then be migrated to the server for processing. The example to follow will document this process in great detail. It employs pseudocode to help document programmatically what a sample interface might resemble. For my procedural components, I chose to implement a single interface for all client -server interaction. Doing this focuses the stand- alone application developer into a well- defined interface (although still very flexible). In fact, the example will document the process a procedural interface must go through to be transformed into client-server. Generally, a developer wouldn't have to perform all these duties, as an RPC pre-compiler might provide and mask these requirements. It is a very good exercise, however, to document the procedural flow required between client and server.

 


Related Discussions:- Explain the client- server interface using procedures

What are qualified associations, What are qualified associations? A qua...

What are qualified associations? A qualified association is an association in which an attribute known as the qualifier disambiguates the object many associated end.

Give the example of first come first served scheduling, Consider  the  foll...

Consider  the  following set of jobs with  their  arrival  times,  execution  time  (in minutes), and deadlines. Job Ids Ar r ival Time E

What is usb, What is USB USB (UNIVERSAL SERIAL BUS) is intended to conn...

What is USB USB (UNIVERSAL SERIAL BUS) is intended to connect peripheral devices like mouse, keyboards, modems and sound cards to microprocessor through a serial data path and

Explain dns, DNS is The horizontal naming system.

DNS is The horizontal naming system.

Significance of having less memory references, Q. What is the significance ...

Q. What is the significance of having less memory references? As the time needed for memory reference is more than that of a register reference so increased number of memory r

Define bidirectional bus, Define bidirectional bus? A bidirectional bus...

Define bidirectional bus? A bidirectional bus is that which permits the transfer of data either from memory to CPU during a read operation or from CPU to memory during write op

Explain about combinational circuits, Q. Explain about Combinational Circui...

Q. Explain about Combinational Circuits? Combinational Circuit is one of the models for parallel computers. In interconnection networks, different processors correspond with ea

Explain characteristics of program translation model, Explain characteristi...

Explain characteristics of program translation model. The program translation model characteristics are: A program should be translated before this can be executed.

Define the half duplex transmission, Define the Half Duplex Transmission ...

Define the Half Duplex Transmission A half-duplex channel can receive andsend, but not at the same time. It's like a one-lane bridge where two-way traffic should give way in

Stepwise refinement of the program, What do you understand by stepwise refi...

What do you understand by stepwise refinement of the program? The method of "Stepwise refinement" means to take an object and move it from a general perspective to a exact leve

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd