This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 114
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?
 
It's not a secret anymore!