ClassCastException
Hello ,
i am new to the RMI programming. i have created my application, the client the server and the interface. when i am trying to run the client which is suppose to send a user-defined class type object the server for the server to send it to the DB, i am getting java.lang.ClassCastException : MainServer_stub. MainServer is the name of my server.
Any help

