On Jun 8, 2008, at  3:43 AM, Michael Ash wrote:

On Sun, Jun 8, 2008 at 1:48 AM, Peter Duniho <[EMAIL PROTECTED]> wrote:
So, when you write "true proxying of method invocations", what does that
mean, exactly?

Distributed Objects is probably the best example in terms of
real-world use of a technique which is difficult in stricter
languages. Consider:

Foo *obj = [connection rootProxy];
[obj doSomethingWithArgument:arg];

This transparently proxies the method invocation off to another
machine. I seem to recall from the last time that this is possible to
implement in C# but not Java, but I could be wrong.

BTW: There have been distributed object proxies in Java done in a similar way (using InvocationHandler).

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to