Re: Difference between ORBIT and Shared Library ?
- From: Dietmar Maurer <dietmar ximian com>
- To: Franck Martin <franck sopac org>
- Cc: gnome-devel-list gnome org
- Subject: Re: Difference between ORBIT and Shared Library ?
- Date: Thu, 22 Mar 2001 15:54:32 +0100
Franck Martin wrote:
> Dietmar Maurer wrote:
>
> > Franck Martin wrote:
> >
> > > Difference between ORBIT and Shared Library ?
> > >
> > > I'm trying to understand the difference between ORBIT and a shared library.
> > > What are the advantages/disavantage of using CORBA against a shared library
> > > and its .h file for linking?
> > >
> > > I'm getting a bit confused on the issue.
> >
> > CORBA is a framework to make Client/Server applications. Here are some links
> > with
> > further information:
> >
> > http://cgi.omg.org/corba/beginners.html
> > http://www.omg.org/gettingstarted/
> > http://orbit-resource.sourceforge.net/
> >
> > - Dietmar
>
> Ok, I have read some of the doc, the closest I found was a doc about gda which
> was a library wrapped around corba.
>
> I thought that corba was allowing to build objects that can be called inside
> procedures... Is it possible to write a library that will be called through an
> orbit object service?
You can call methods of CORBA Objets (Servers) from everywhere. Consider you
have implemented an 'Echo' server:
interface Echo {
void echoString(in string astring);
};
all you need is to get a object reference to that server. Then you can call
Echo_echoString(echo_client, "test", ev);
That's all, no matter where the object (server implementation) is located. You
can implement the server inside a shared library, it can be a separate process
on the same computer, or it can be located somewhere in the world (accessible
through the internet (TCP/IP)- or other network protocols). I think the
call that 'location transparent'.
I hope this answers the question?
- Dietmar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]