Article View: comp.object.corba
Article #64Re: Writing client and Server using only rootPOA
From: Ashwani Kalra
Date: Thu, 12 Jul 2001 06:00
Date: Thu, 12 Jul 2001 06:00
31 lines
2156 bytes
2156 bytes
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. Regds Ashwani > > Ke > > ashwani_kalra@yahoo.com (Ashwani Kalra) wrote in message news:<e33c2814.0107100200.6d311dd6@posting.google.com>... > > Hi, > > I am not able to run simple client ,server program using rootPOA. > > > > My problem is that On server side I want to use rootPOA only with what > > ever default policies it has . How to register my servant on the > > rootPOA and on the client side how to access this servant and call > > its operations. > > > > Thanks
Technical Details
Message-ID:
<e33c2814.0107112200.60b3c145@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mailReferences:
<e33c2814.0107100200.6d311dd6@posting.google.com> <887a1f78.0107102314.6d5debd8@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109156,850ff2f65c6ed5c7 X-Google-Attributes: gid109156,public X-Google-Thread: f753e,850ff2f65c6ed5c7 X-Google-Attributes: gidf753e,public X-Google-ArrivalTime: 2001-07-11 23:00:44 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: ashwani_kalra@yahoo.com (Ashwani Kalra) Newsgroups: comp.object.corba,borland.public.visibroker Subject: Re: Writing client and Server using only rootPOA Date: 11 Jul 2001 23:00:44 -0700 Organization: http://groups.google.com/ Lines: 31 Message-ID: <e33c2814.0107112200.60b3c145@posting.google.com> References: <e33c2814.0107100200.6d311dd6@posting.google.com> <887a1f78.0107102314.6d5debd8@posting.google.com> NNTP-Posting-Host: 203.122.29.68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 994917644 8880 127.0.0.1 (12 Jul 2001 06:00:44 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 12 Jul 2001 06:00:44 GMT