courtGibson / MyPlanner

0 stars 0 forks source link

RMI nonfunctional #3

Open MHKEND01 opened 5 years ago

MHKEND01 commented 5 years ago

Clients aren’t manipulating a proxy, they’re manipulating the actual server object. In other words the proxy and actual server are pointers to the same thing. So RMI was not set up correctly. We changed test code to setup RMI properly and the rest of the program broke. This is because the client tries to access server as if the entire server object and all its dependencies are being serialized every time there is communication between the client and server. The issue is the server does not even implement serializable. I agree the whole server should not be serialized because the client should not need to access everything, but the way they implement the client it should be.