Hi everybody, Has anybody written the server, or at least thought of how to write it, then please help me with the following issues:- 1.) This is very clear that all the public methods of Data.java will form the interface for the server, but, what about the two constructor of Data.java. Do you write two more methods for implementing its constructor?? 2.) How will you implement the interface (containing all the public methods of Data.java) in the server. Is it going to be a simple call to the actual method in Data.java?? 3.) Where will you store the instance of Data class, as any member var. defined in server class will be shared among diff clients. So, if one client says close() on Data class while other client invokes add() on the Data class, what will happen??. Actually all these questions are interrelated. My basic question is how to use Data.java to write the RMIServer??. Rahul Sri.
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
Devious Experiments for a Truly Passive Greenhouse!