🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.object.corba
Article #61

Re: Writing client and Server using only rootPOA

#61
From: Stephen Crawley
Date: Mon, 16 Jul 2001 05:36
26 lines
2399 bytes
ashwani_kalra@yahoo.com (Ashwani Kalra) writes:

> kejin@borland.com (Ke Jin) wrote in message news:<887a1f78.0107102314.6d5debd8@posting.google.com>...
> > YOu can have such an example, but can't use bind() through osagent
> > with rootPOA only. You have to export your refernece through other
> > approachs, such object_to_string(), bind/resolve to/from INS service,
> > etc..
> > 
> > To bind() through osagent, you have to use a persistent POA.
> 
> But cant I bind to rootPOA by writing a statement in client like this 
> 
> Bank.AccountManagerHelper.bind(orb, "/", managerId);
> Where "/" is rootPoa name. When I write this client throws an exception that 
> POA "/" not found.

I think you've answered your own question.  No you can't.

Since "bind" is proprietary, its "proper" behaviour is whatever Borland
says it should be.  If Borland (Ke Jin) says that bind() should not be
expected to work for objects created in the rootPOA, that is the end
of the story.

I recommend that you don't use "bind".

-- Steve
Technical Details
Message-ID: <dcd7715tbi.fsf@soluble.dstc.edu.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!bunyip.cc.uq.edu.au!not-for-mail
References: <e33c2814.0107100200.6d311dd6@posting.google.com> <887a1f78.0107102314.6d5debd8@posting.google.com> <e33c2814.0107112200.60b3c145@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f753e,850ff2f65c6ed5c7
X-Google-Attributes: gidf753e,public
X-Google-Thread: 109156,850ff2f65c6ed5c7
X-Google-Attributes: gid109156,public
X-Google-ArrivalTime: 2001-07-15 22:36:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!bunyip.cc.uq.edu.au!not-for-mail
From: Stephen Crawley <crawley@dstc.edu.au>
Newsgroups: comp.object.corba,borland.public.visibroker
Subject: Re: Writing client and Server using only rootPOA
Date: 16 Jul 2001 15:36:17 +1000
Organization: Distributed Systems Technology CRC
Lines: 26
Message-ID: <dcd7715tbi.fsf@soluble.dstc.edu.au>
References: <e33c2814.0107100200.6d311dd6@posting.google.com> <887a1f78.0107102314.6d5debd8@posting.google.com> <e33c2814.0107112200.60b3c145@posting.google.com>
NNTP-Posting-Host: eeyore.dstc.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: bunyip.cc.uq.edu.au 995261779 22376 130.102.176.3 (16 Jul 2001 05:36:19 GMT)
X-Complaints-To: news@uq.edu.au
NNTP-Posting-Date: 16 Jul 2001 05:36:19 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
Cache-Post-Path: eeyore.dstc.edu.au!unknown@soluble.dstc.edu.au
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)