Wednesday, August 3, 2011

Remote Interface vs. Local Intereface

Annotation @Remote defines the remote interface which has the implication in performance. The arguments in the method are passed by value instead of by reference. The arguments will be serialized.
When invoking the remote method the network and RMI overhead will be involved.

No comments:

Post a Comment