Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote Interface  RSS feed

 
Gopinath Ranga
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
what is the use of Remote inteface?.How server and client communicating with this interface?


thanks and regards

Gopi R.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

the Remote interface is just a marker interface which therefore declares no methods. By implementing or extending this interface you just tell the RMI framework that the methods of this class or interface are allowed to be invoked remotely via RMI.

You can find more information on marker interfaces here.

Marco
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And please take a look at the official JavaRanch naming policy and choose a login name accordingly.

Marco
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!