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

Write a perl script, Write a PERL script which takes a file named input.txt...

Write a PERL script which takes a file named input.txt as an input and processes it. The input file has the following format: firstname lastname: pass/fail score%. A sample input f

Priority interrupt and synchronous bus, What is a Priority Interrupt? A...

What is a Priority Interrupt? Ans: A priority interrupt is a type of interrupt that establishes a priority over the many sources to determine which condition is to be serviced

Should validation occur server- side or client - side, Should validation (d...

Should validation (did the user enter a real date) occur server-side or client-side? Why? Validation will be completed in both sides i.e., at the server side and client side. S

What is a symbolic constant, What is a symbolic constant? How it is defined...

What is a symbolic constant? How it is defined ? Symbolic constants are constants of any type declared by using the #define compiler directive. It is a preprocessor directive.

How to create a new object order preference, 1. In an ASCII editor, make an...

1. In an ASCII editor, make an empty text file with the extension .ord. 2. Save the file in the Dat folder of the project. 3. Click To o l s > G UI R e c o r d O p t i o n s

Enumerate the process of dynamic modelling:, Define the Process of dynamic ...

Define the Process of dynamic modelling: Analyse applicability of actions Recognize object states Create dynamic model diagram Express every state in terms o

What is a serial port, What is a serial port?  A serial port transfers...

What is a serial port?  A serial port transfers and receives data single bit at a time.

Illustration of cache size of a system, Q. Illustration of cache size of a ...

Q. Illustration of cache size of a system? Cache Size: Cache memory is very costly as compared to main memory and therefore its size is generally kept very small.  It has bee

Print a prompt, When your shell is waiting for input from the user, it shou...

When your shell is waiting for input from the user, it should first print a prompt. The prompt should consist of the current working directory followed by the _>_ character. Here i

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