Distributed Computing
RPC Application
RPC Application PROBLEM STATEMENT: Write a RPC application to add two numbers. SOURCE CODE Server.java import java.util.*;import java.net.*; class Server { DatagramSocket ds; String… Read More »RPC Application
Building Client-Server Communication for Exchanging String Messages
Building Client-Server Communication for Exchanging String Messages PROBLEM STATEMENT: Write a program to demonstrate the exchange of messages between a client and a server. SOURCE… Read More »Building Client-Server Communication for Exchanging String Messages
Remote Objects for Database Access
Remote Objects for Database Access PROBLEM STATEMENT Write an RMI program in Java to access a database and also must have appropriate methods for inserting,deleting… Read More »Remote Objects for Database Access
Building simple Client-Server system using RMI
Building simple Client-Server system using RMI PROBLEM STATEMENT: Write a program to implement an RMI application. DESCRIPTION DEFINTION OF RMI Allows a Java method to… Read More »Building simple Client-Server system using RMI
Two-Phase Commit Protocol
Two-Phase Commit Protocol PROBLEM STATEMENT Write a program to implement a two-phase commit protocol. Messages are passed between ‘n’ nodes (or terminals) and actions are… Read More »Two-Phase Commit Protocol
Byzantine General Problem
Byzantine General Problem PROBLEM STATEMENT: Write a program to implement Byzantine general problem. The program consists of ‘n’, where n > 4, number loyal generals… Read More »Byzantine General Problem
Mutual Exclusion Using Token Ring Algorithm
Mutual Exclusion Using Token Ring Algorithm PROBLEM STATEMENT: Write a program to apply mutual exclusion using Token Ring algorithm. The program contains two or… Read More »Mutual Exclusion Using Token Ring Algorithm
Synchronized Clock
Synchronized ClockPROBLEM STATEMENT Write a program to demonstrate working of Synchronized Clocks. The program contains to client process and one server which host a Synchronized… Read More »Synchronized Clock
Message Passing Interface
Message Passing Interface PROBLEM STATEMENT Write a program to implement a message passing interface (MPI). The program contains two or more clients and one server… Read More »Message Passing Interface