overhead of using dynamic proxy

From: Tim Young <dh_jaxrpc_at_UGCS.NET>
Date: Tue, 15 Apr 2003 22:47:16 -0600


1) I would be interested in a pros/cons comparison between using static stubs and dynamic proxy invocation. Is there a performance overhead for the proxy model?

2) Because the session tracking is done on a per Stub instance basis, it means that multiple users on the client side need to have an instance of the Stub implementation (so that their cookie can be maintained). Is there any data on the size of the Stub objects? How heavy are they in terms of the memory they take? There doesn't seem to be a way to getSession() and then setSession() on the client side so that the Stub objects can be pooled in case they are big.