But maybe when you start with one Data Interface that extends Remote, then another interface that extends this interface by adding a few more methods. Then the Data Remote implements the second interface. Thinking that we can cast or return an object of this second interface that we are going wrong.
I have only one remote interface
The NullPointerException is raised on the internals of RMI getting to the TreeSet of airports
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton