• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why do we need RemoteInterface?

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I wanted to know why do we need RemoteInterface. The following also could be a way of doing it.
DataInterface has all the methods of Data
RemoteData ( class) implements DataInterface, Remote ( also here RemoteData can throw remoteException) and extends UnicastRemoteObject.
LocalData (class) implements DataInterface
I think that this would work rather than adding RemoteInterface which extends DataInterface and Remote Interface.
Please comment, I may be wrong on this.
Thanks
Amish
[ January 23, 2003: Message edited by: Amish Patel ]
 
Matt Ghiold
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I personally only had a DataInterface, but there is no right or wrong answer, only what you can justify.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic