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


JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Polymorphism and RMI?" Watch "Polymorphism and RMI?" New topic
Author

Polymorphism and RMI?

Marcus Didius Falco
Ranch Hand

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

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Polymorphism and RMI?
 
Similar Threads
Accessing method in a static Inner Class
Overloading is Polymorphism?
Interview question?
Runtime Polymorphism
Mock Exam question.