A class is remote if it or any of its superclasses implements a remote interface.
A remote interface is an interface which satisfies the following requirements:
In addition, Java Card RMI imposes additional constraints on the definition of remote methods. These constraints are as a result of the Java Card platform language subset and other feature limitations. For more information, see Section 2.2.6.2, Access Control of Remote Interfaces and Section 2.2.6.3, Parameters and Return Values.