Question: Java 3. (Bonus Question: 20 Points) A Simple Mail Application The objective of this assignment is to implement a server and two clients that exchange
Java


3. (Bonus Question: 20 Points) A Simple Mail Application The objective of this assignment is to implement a server and two clients that exchange messages through the server, as shown in Figure 1. Server Client 1 FIFO Queue Client 2 Figure 1: The Message Server The server MessagePoolServer implements two remote methods defined in the interface class MessagePool import java. rmi.* public interface MessagePool extends Remote public void put (String mag) throws RemoteException; public String get throws RemoteException; Figure 2: The remote interface MessagePool.java 3. (Bonus Question: 20 Points) A Simple Mail Application The objective of this assignment is to implement a server and two clients that exchange messages through the server, as shown in Figure 1. Server Client 1 FIFO Queue Client 2 Figure 1: The Message Server The server MessagePoolServer implements two remote methods defined in the interface class MessagePool import java. rmi.* public interface MessagePool extends Remote public void put (String mag) throws RemoteException; public String get throws RemoteException; Figure 2: The remote interface MessagePool.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
