wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 100
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?
 
Similar Threads
Interview question?
Runtime Polymorphism
Accessing method in a static Inner Class
Mock Exam question.
Overloading is Polymorphism?