• Post Reply Bookmark Topic Watch Topic
  • New Topic

interface problem  RSS feed

 
xiaoma wang
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, everybody:
I am not clear the following issue: u know, in my project using rmi, i want to make a proxy class in the client package and at the same time, the proxy class implements the interface in the server package. In the real world, the client and server are in the different machines. i mean, class A is in the machine A, but class A want to implement interface in the machine B. Is it possible ?
Thank u very much!

xiaoma wang
 
Brent Worden
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes its possible. You will need to distribute the interface the proxy implements on both the client and server machines.
 
xiaoma wang
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankd Brent!
Xiaoma Wang
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!