aspose file tools*
The moose likes Distributed Java and the fly likes Polymorphism and RMI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Polymorphism and RMI?" Watch "Polymorphism and RMI?" New topic
Author

Polymorphism and RMI?

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 103
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

Joined: Sep 19, 2005
Posts: 291

Any call you can do locally, you can do remotely.


Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Polymorphism and RMI?