Comparison and Performance Study of Parameter-Passing Semantics and Implementations of Remote Method Invocation