It is simple. Just extend the concept of reflection (specifically, 'invoke'
on a 'method' object) to remote references and calls (e.g. 'call' on a
'reference' object). 1.2 RMI provides (finally) all the necessary
ingredients to do that. The really nice side effect is that all the
exception handling is done in one place in a generic fashion instead of
having three separate try/catch pairs in every stub. The security of your
calls is also increased because you don't expose the argument packing
mechanism.
Hope this helps, I cannot give you more details on the list :-)
Imre Kifor
Valto Systems
-----Original Message-----
From: Rickard �berg <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, March 09, 1999 8:18 AM
Subject: Re: EJBObject thoughts
>Hey
>
>Imre Kifor wrote:
>> There is. 1.2 RMI allows you to pass extra arguments with your method
calls
>> in a more structured and generic fashion than previously possible (and
>> without hacking your method's signatures). The mechanism is also simpler
and
>> less error prone. Ejipt uses such a mechanism.
>
>That is interesting. I asked Adrian Colley of the RMI team if this was
>possible and he said:
>"There are planned future extensions to RMI which would make
>implicit parameters possible (specifically, custom reference types).
>For the current implementations, I wouldn't pretend to know how to do
>it."
>
>So if you know of a method to do it, I would be very eager to hear about
>it! :-)
>
>/Rickard
>
>--
>Rickard �berg
>
>Computer Science student@LiTH
>@home: +46 13 177937
>Email: [EMAIL PROTECTED]
>Homepage: http://www-und.ida.liu.se/~ricob684
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".