dcsimg

Why is rmic invoked on the implementation class and not on the remote interface?

RamaChandra Murthy

RMIC is invoked on the implementation class as this class may be implementing n-number of remote interfaces. Otherwise, we would have to supply all the n-number of interfaces to rmic or invoke rmic on a composite interface created by extending the remote interfaces.