Problem Solving Synchronous Service
01. Program Details:
(i) Date: 26th September, 2019
(ii) Language: Java
02. Problem Statement:
(i) Server solves following problems:
a) Show the value of pi,
b) Add two numbers,
c) Sort array in an ascending order, and
d) Multiply three matrices.
(ii) The server should support synchronicity and
the client should wait for the results from the server.
03. Code Execution:
(i) To compile the above programs,
change the directory of the Terminal or Command Prompt to the folder containing these files.
(ii) Then, enter 'javac Server.java' and 'javac Client.java' to compile these files.
You can only run these files after compiling them.
(iii) Finally, to run these files correctly,
first, run 'Server.class' by entering 'java Server' then run 'Client.class' by entering 'java Client'.
04. Note:
(i) For array passing,
byte array can only process a small amount of data at a time.
It fails when large data is passed to it.
(ii) These programs are coded without using Java Remote Method Invocation (RMI) or
Remote Procedure Call (RPC).
-
Notifications
You must be signed in to change notification settings - Fork 0
AjinkyaSalvi/problem-solving-synchronous-service
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Synchronous problem-solving services.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published