Posts

Showing posts from May, 2022

5. To create a simple web service and write any distributed application to consume the web service.

Click Here for Step By step process .

4. To develop Token Ring distributed algorithm for leader election.

//Bully.java import java.io.InputStream; import java.io.PrintStream; import java.util.Scanner; public class Bully {     static boolean[] state = new boolean[5];     int coordinator;     public static void up(int up) {         if (state[up - 1]) {             System.out.println("process" + up + "is already up");         } else {             int i;             Bully.state[up - 1] = true;             System.out.println("process " + up + "held election");             for (i = up; i < 5; ++i) {                 System.out.println("election message sent from process" + up + "to process" + (i + 1));             }             for (i = up + 1; i <= 5; ++i) {     ...

3. To develop any distributed application with CORBA program using JAVA IDL.

  Click here for step by step CORBA Program implementation