Re: RMI goes deep
From: Nigel Wade (nmw_at_ion.le.ac.uk)
Date: 06/04/04
- Next message: Kleopatra: "Re: Sun's swing TableSorter"
- Previous message: Andy Fish: "Re: I thought that array bounds checking needed two comparisons; however, ..."
- In reply to: Arttu Arstila: "Re: RMI goes deep"
- Next in thread: Arttu Arstila: "Re: RMI goes deep"
- Reply: Arttu Arstila: "Re: RMI goes deep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Kleopatra: "Re: Sun's swing TableSorter"
- Previous message: Andy Fish: "Re: I thought that array bounds checking needed two comparisons; however, ..."
- In reply to: Arttu Arstila: "Re: RMI goes deep"
- Next in thread: Arttu Arstila: "Re: RMI goes deep"
- Reply: Arttu Arstila: "Re: RMI goes deep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|