[omniORB] getting ObjectId from IOR

Maxim Krylov cyberz@garant.ru
Tue, 9 Oct 2001 10:55:33 +0400


My task is to realize an local cache for client, which caching calling of
remote methods. I need to use cache because we have clients of our system
with bad
connection & they work with lage amount of stable (not often change) data.

The cache work logic is simple:
    mapping (sending arguments + smth unique id of server object) into
(rezults of method [resived data]).

For this purpose I wanted to use Objectid, because IOR can be different for
various incarnations of one object. I hope POA with USER_ID AssignmentPolicy
can help me, because all chahed object are persistent & their Objectid's are
unique and serve as database keys.

I know, omniORB has own realization of client's cache, but my architecture
is jacORB(client)-omniORB(server).

Can be it other solution for my problem, which doesn't concerned with
Objectid?

Maxim Krylov,
Garant-Service (www.garant.ru)

> -----Original Message-----
> From: owner-omniorb-list@uk.research.att.com
> [mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of Duncan
> Grisby
> Sent: Monday, October 08, 2001 8:34 PM
> To: Maxim Krylov
> Cc: omniorb
> Subject: Re: [omniORB] getting ObjectId from IOR
>
>
> On Friday 5 October, "Maxim Krylov" wrote:
>
> > I need get an ObjectID from IOR or object reference at the
> client's side.
> > I've read specification, & find only POA's methods (servant_to_id,
> > reference_to_id). But I haven't access to servant's POA from
> client. In case
> > of I have access, remote method's call isn't economy.
>
> There is no way for a client to get an object id given an IOR. What
> are you trying to do?
>
> Cheers,
>
> Duncan.
>
> --
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --
>
>