The brief scenario:
A university with 3 geographically separate campuses is to implement
a distributed system to maintain student records using Java RMI.
There will be a server for each campus. Each server maintains
information for local students only. Access to a server can only be
achieved from the local campus. However, the servers may
communicate with each other.
The distributed nature of the system needs to be hidden from users.
Clients access the local server even if their information is on a
remote server. Students may only access their own records. They
can only modify certain fields in their record.
Campus administrators access the records of any student, but can
only modify records of students belonging to their own campus. They
can create and de-activate records.
Problem:
I know how to implement this with one server and client object, but
have no idea how to achieve this with multiple client types and
server objects. How do you get the local server to communicate with
the other servers if the record is not found on the local server?
I have read up on Java RMI, but can't find any sample code that
covers this scenario.