package com.sister.kelompok5;

import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;

public class RMIServer {

	private void startServer(){
        try {        
            /*
             * register server in port 5000 and bind as service named "Echo"
             */
            Registry registry = LocateRegistry.createRegistry(5000);                        
            registry.rebind("Echo", new Message());
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }      
        System.out.println("Server is ready");
    }
	
	public static void main(String[] args) {
        RMIServer main = new RMIServer();
        main.startServer();
    }
	
}

@@ -264,20 +264,28 @@
  named %22
-Echo
+ConvertColor
 %22%0A      
@@ -420,12 +420,20 @@
 nd(%22
-Echo
+ConvertColor
 %22, n

update service name