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 the advantages of threads over processes, What are the advantages...

What are the advantages of threads over processes? Some of the useful threads offer over processes includes: i)   It does not take more time to create and finished a new thr

Explain typical packet switching network configuration, Explain typical pac...

Explain typical packet switching network configuration. Packet Switching: In packet switching the nodes handle greatly smaller data length than are determined in message swit

Find traffic offered and lost, Discuss grade of service. During busy hour, ...

Discuss grade of service. During busy hour, 1500 calls were offered to a group of trunks and 8 calls were lost. The average call duration was 120 seconds. Calculate the traffic off

Dynamic cons, i want dynamic cons simple program in c++

i want dynamic cons simple program in c++

What is jmx, JMX is native to the Java programming language. As a result, i...

JMX is native to the Java programming language. As a result, it offers natural, efficient, and lightweight management extensions to Java-based functions. It has of a set of specifi

Common functions of interrupts - computer architecture, Common Functions of...

Common Functions of Interrupts: An Interrupt transfers control to the interrupt service routine, generally through the interrupt vector table, which contains the addresses

Different edi components and services, Different EDI components and service...

Different EDI components and services  Three main components containing services in EDI System are as follows:  •  Application Service: Gives the means of integrating existi

Explain about distributed shared memory systems, Explain about Distributed ...

Explain about Distributed Shared Memory Systems? Distributed Shared Memory (DSM) systems emulate a shared memory abstraction on loosely coupled architectures in order to allow

Timing in mpi program, Q. Timing in MPI program? MPI_Wtime ( ) returns ...

Q. Timing in MPI program? MPI_Wtime ( ) returns lapsed wall clock time in seconds because some random point in past. Elapsed time for program section is given by difference bet

Identify which stores most no. of bits in memory store, Which of the memori...

Which of the memories stores the most number of bits ? Ans. 5Mx8 = 5 x 220 x 8 = 40M (max).

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