I have two public interface that extends Remote public interface InnerInterface extends Remote {} public interface OuterInterface extends Remote {} I then have a class (Outer) that contains an inner class that implements the InnerInterface... Something like this:
public class Outer extends UnicastRemoteObject implements OuterInterface { public InnerInterface inner getInnerObject(); private class Inner extends UnicastRemoteObject implements InnerInterface { } } So my outer object is remotable. Can my inner object be remotable since its a private inner class that implements the public remotable (Inner) interface? That is if I return the InnerInterface via getInnerObject() will this be remotable? If this is possible, how do I create the stubs for Inner using rmic? ie what class name is used? thanks