I'm looking for a technique to provide a generic way of implementing
'plug-in' behaviour in an application for linux. I want to allow other
binary plugins to be written as shared libraries, then loaded and
accessed at run-time using corba.
Thanks in advance,
Phil.
--
_______________________________________________________________________
Phil Dawes | My opinions are my own
WWW: http://www.cs.bham.ac.uk/~pld | and nothing to do with
Email: phi...@parallax.co.uk | my employer.
_______________________________________________________________________
> Can corba be used to allow a program to create and access objects in its
> own address space (i.e. from a dynamically linked shared library)? (Like
> in-proc servers in COM)
>
> I'm looking for a technique to provide a generic way of implementing
> 'plug-in' behaviour in an application for linux. I want to allow other
> binary plugins to be written as shared libraries, then loaded and
> accessed at run-time using corba.
Yes. Every ORB I know of supports this. Simply link the server code
into the client and you are done. That's what CORBA's location transparency
is all about. The server code can of course be placed into a library
(obviously, for co-located servers, you won't have a main function
and you won't have an event loop, at least not if the client is
single-threaded).
Cheers,
Michi.
Copyright 1997 Michi Henning. All rights reserved.
--
Michi Henning +61 7 33654310
DSTC Pty Ltd +61 7 33654311 (fax)
University of Qld 4072 mi...@dstc.edu.au
AUSTRALIA http://www.dstc.edu.au/BDU/staff/michi-henning.html