Distributed Applications
We can use any of the following two approaches in designing a distributed application.
- Communication-Oriented Design: Begin with the communication
protocol. Design a message format and syntax. Design the client and
server components by specifying how each reacts to in-coming messages
and how each generates outgoing meassages.
- Application-Oriented Design: Begin with the application.
Design a conventional application program to solve the problem. Build
and test a working version of the conventional program into two or more
pieces, and add communication protocols that allow each piece to
execute on a separate computer.
Semantics of Applications
- Normal Application: A main program which may call procedures
defined within the program (proc A in this case). On return from this
procedure the program continues. This procedure (proc A) may itself
call other procedures (proc B in this case). Refer to the figure below: