Re: RMI goes deep

From: Nigel Wade (nmw_at_ion.le.ac.uk)
Date: 06/04/04


Date: Fri, 04 Jun 2004 12:59:07 +0100

On Thu, 03 Jun 2004 16:24:04 +0300, Arttu Arstila wrote:

> Thomas Weidenfeller wrote:
>> Arttu Arstila wrote:
>>
>>> But how can it be that I have remote classes in client package?
>>
>>
>> Without going into details, such a setup is common in CORBA systems. You
>> should make a distinction between your system architecture's view (a
>> server, and multiple clients), and what constitutes a server or client
>> from a CORBA or RMI point of view.
>>
>> For the later, every entity which provides a method which can be invoked
>> from remote is a "server". Every entity which invokes remote methods is
>> a "client".
>>
>> If you have to implement some callback mechanism, like some event
>> notification, your (in architecture terms) client, has to offer a method
>> which can be called from remote for notification purposes. This makes
>> that (in architecture and implementation terms) client a (in
>> implementation terms) server, too.
>>
>>> Where do this client-side remote objects register themselves?
>>
>>
>> I would guess they register at the (architecture) server when the
>> callback mechanism is set up "Dear server, please call this remote
>> method when something happens".
>>
>
> Ok, I think I'm getting it. So would it be right to understand it like
> this: my (architecture) server and clients share the same RMI
> server/coneection/distribution/whatever mechanism, and they can equally
> register objects for distributed computing in it.
>

This link might shed some light:
http://www.javaworld.com/javaworld/javaqa/1999-04/05-rmicallback.html

google for "java rmi callback" for more links.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK 
E-mail :    nmw@ion.le.ac.uk 
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555


Relevant Pages

  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... my computer to the network on the server. ... Connection Wizard none of the computers were listed. ... The Mac clients can not communicate with the server box. ... > Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)
  • Re: [SLE] SMTP authentication
    ... So eventhough my local SMTP server dials up to the internet with a certain username and password, that same username and password would not be used as authentication between my local SMTP server and the ISP's one, should it be used as a relay? ... either defer all outgoing mails until you connect to the internet, then flush out all the mails in the queue. ... Your local server would use an external program like fetchmail to poll the mailserver of your ISP, download the mails and feed them to Postfix. ... The test does NOT say "All clients must be in mynetworks, ...
    (SuSE)
  • RE: VPN Clients Not Registering in AD DNS
    ... via VPN, the DNS records of the VPN clients are unable to be registered. ... Windows 2003 server? ... please let me know whether the clients get the IP ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... > then add my computer to the network on the server. ... Did you not see the computers in the Server Management taskpad section? ... The Mac clients can not communicate with the server box. ... >> Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)