Thanks Chulwoo,
Some more details. I created the interface and its implementation. Then generated the relevant stubs using rmic and packaged three jar files.
Client - Having the code related to GUI
Common - Service interface and some other interfaces alongwith the stubs. Please note that i send the server a Task (interface) and get back a Result (Interface). The implementation of Result and Task is kept on the server.
Do i need to generate the stubs for these too? I think not. There are methods in my service interface itself that will allow me to get their handles createTask returns Task instance, performTask which returns Result instance
Server - Where the data class and RMI implementations are kept. I place the Client and common on my laptop and server and common on my pc. I tried to run both client and server on my local machine and it worked fine but i still am not able to run that in my small network. I use java 5.0 and i have set the dynamic downloading off. As per my understanding that should not be the problem (sun itself wants that). I have all the rmic generated stubs in place so no downloading should occur
Please help!!!