[omniORB] Remote Object

Ian Brennan ibrennan@iona.com
Thu, 02 Apr 1998 01:20:34 +0100


Just notice there that I incorrectly used the C++ism "bool" instead of IDL
"boolean" and missed the ; at the end of the interface defs.

- Before anyone else gets to point it out...

Ian
----

Ian Brennan wrote:
> 
> > Lionel Schieper wrote:
> >
> > I begin CORBA and is there someone who can say me how to instanciate CORBA
> > Object on one other computer. Before, i have tried COM Object and for this
> 
> If you want to intantiate an object remotely, you need the  "automatic
> activation mode."  If this is available, objects are activated automagically by
> the ORB when a request is made for those objects.
> 
> (all you need to do is invoke upon the IOR and the server is launched
> automatically, so in fact you don't even need to know which computer your
> server is running on. But I digress.)
> 
> BUT, the automatic activation mode is not available in OmniOrb (as far as I
> know) - It is available in most if not all commercial ORBs.
> 
> With OmniOrb, you'll need to start your servers manually on the remote server
> or else provide an alternate solution.
> 
> One such solution would be to provide simple "object starters" which run
> continually on each remote host which clients can use to launch servers
> remotely.
> 
> interface object_starter
> {
>         bool start_object(in string objectname);
> }
> 
> You would need such a server to maintain a list of the objects on its host, and
> which servers each object is implemented within.
> 
> Alternatively, If you were feeling brave, you could do it like so:
> 
> interface object_starter
> {
>         bool start_object(in Object objref);
> }
> 
> This would actually put you half way to implementing automatic object
> activation in OmniOrb - I figure Eoin and Sai-Lai have been waiting for
> somebody to do for a while.
> 
> Of course this becomes a much more complicated affair when you take into
> account such small matters as permissions and security...
> 
> good luck!
> 
> Ian.
> 
> > type of object you simply say on wich computer you want to instanciate your
> > object
> 
> Not quite: you say on which PC running a Microsoft OS you wish to instantiate
> your object ;->
> >
> > Thanks.
> >
> > Schiepers Lionel : Lionel.Schiepers@advalvas.be
> > Student at HEPL In.Pr.E.S Seraing Belgium