Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issues while writing the RMI Server  RSS feed

Rahul Sri2K3377
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 will form the interface for the server, but, what about the two constructor of Do you write two more methods for implementing its constructor??
2.) How will you implement the interface (containing all the public methods of in the server. Is it going to be a simple call to the actual method in
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 to write the RMIServer??.
Rahul Sri.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!