[omniORB] Dynamic Servant Creation

Piet van Oostrum piet at cs.uu.nl
Thu Jun 23 14:34:17 BST 2005


>>>>> Wade Hunkapiller <incrediblehunk at gmail.com> (WH) wrote:

>WH> Forgive me if my question is a little naive, but I'm pretty new to
>WH> using CORBA and omniORB.

>WH> Is there some way that when a client attempts to retreive an object
>WH> reference, the servant is dynamically created (by the POA Manager?)?

>WH> I want to be able to retreive an object reference in my own local
>WH> application, but not have to manually kick off the remote application
>WH> that contains the object implementation.

>WH> I'm pretty sure this can be done, but I'm not sure where to begin. 
>WH> Any help would be greatly appreciated.

If you already have a server process running, and just have to create a
servant in that process (i.e. an instance of the implementation class), you
can use the ServantManager functionality of the POA. See for example
http://www.cs.wustl.edu/~schmidt/PDF/C%2B%2B-report-col14.pdf

If there is no server process running you can use an implementation
repository. See for example http://www.triodia.com/staff/michi/cacm.pdf
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet at vanoostrum.org



More information about the omniORB-list mailing list