Java RMI Task Management System (Simplified)
Objective
Develop a simple task management application using Java RMI to understand distributed computing
concepts.
Project Description
Students will build a server-side application that maintains a list of tasks in a text file and a
client-side application that can remotely access and add tasks using Java RMI. The application will
demonstrate key RMI concepts such as remote interfaces, stubs, and skeletons.
Requirements
1. Server:
- Implement a TaskManager class that supports adding tasks to a text file and retrieving all tasks
from the file.
- Use UnicastRemoteObject to expose the remote methods.
- Handle RemoteExceptions properly and log server-side operations.
2. Client:
- Connect to the server via RMI registry.
- Display a simple command-line menu to add a task and view all tasks.
- Handle RemoteExceptions and provide user feedback.
3. RMI Details:
- Define a TaskManagerInterface that extends Remote.
- Implement methods like addTask(String task) and getAllTasks().
Java RMI Task Management System (Simplified)
- Use [Link] to bind and lookup services.
- Export the object on a specific port.
Deliverables
- Source code of client and server.
- Video demonstrating the working application.