Posts

Showing posts from April, 2025
Image
                        ONLINE EVENT MANAGEMENT EVENT MANAGEMENT INTERFACE import java.rmi.Remote; import java.rmi.RemoteException; import java.util.List; public interface EventManager extends Remote {     void createEvent(String eventName, String eventDate) throws RemoteException;     List<String> getEvents() throws RemoteException;     void registerForEvent(String eventName, String participantName) throws RemoteException;     boolean isRegistered(String eventName, String participantName) throws RemoteException; } EVENT MANAGEMENT IMPLEMENTATION   import java.rmi.server.UnicastRemoteObject; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.List; public class EventManagerImpl extends UnicastRemoteObject implements EventManager {     private List<String> events;     private List<String> registrations;   ...