Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Client Information using RMI  RSS feed

 
Francis John
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all.....
I want to know abt that how i can implement the method in which client information is updated whenever new client is added to the server....and all these informations should be present at Server side......plz help me with example where i will include this method.......i mean in RMIInterface,RMIServer or RMIClient....

"Not failure but low aim is the crime"
 
Joe Ess
Bartender
Posts: 9425
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't what you want to do with these class names:
RMIInterface,RMIServer or RMIClient

but remote object implementations consist of an remote interface and an object that implements it. To accomplish what you want, you'd declare a method which passes client information in the remote interface and implement the method in the remote object. I suggest you take a look at this:RMI Information for more information.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!