Indigo,

>Thanks. I just started writing a sample HelloWorld-ish program,
>and I couldn't figure out how to export my remote object.
>Typically I would do this in my main(), but since my block is
>automatically loaded by the framework, I would need some
>sort of hook/interceptor to invoke necessary routines. Could
>somebody help me with this? I just need to do this with only
>one Remote object for bootstrapping purposes.
>
>Is there a general-purpose block, semi-block, or block-ish 
>component which is loaded before any user-services in the framework?
>Or, should I write an "RMI-initialization block", which does
>exporting Remote objects as well as setting SecurityManager, etc?
>Will that work? Thanks, ~Indigo 
>
I am not sure how good a RMI solution would be before we're formalized a 
correct way to do it.

If you want to develop a non-block solution, then focus on Startable and 
Initializable interfaces.  If implmented, the latter's init() is called 
last of all.

If  it's distributed Java rather than RMI per se you are interested in, 
try the Soapification service and glue block - a very easy way to 
publish a set of objects.  No stupid RemoteException either.  Just check 
you in accordance with the Glue license.

Regards,

- Paul H


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to