• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Polymorphism and RMI?

 
Markus Schmider
Ranch Hand
Posts: 132
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is probably a dumb question ...
Is it possible to use Polymorphism with RMI?
For example:
B extends A
aMethod(A a)
I want to call aMethod(A a) with an instance of B over RMI.
Is this possible?

Thanks,

Hans
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any call you can do locally, you can do remotely.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic