Re: oaf and bonobo background question



> 1) are there any specific reasons bonobo prefers the multiple
> interfaces stuff (query_interface etc.) over using multiple
> inheritance? is this just because the former makes it easier to be
> 'inspired' by ole2, or are there other reasons?

Single inheritance is very simple to do with C.   

Mimicing OLE also played a role.

And finally there is a lot of objections from many people on using
multiple inheritance for various reasons.  People tend to use Multiple
Inheritance when the only thing they wanted was multiple interfaces to
an object. 

> 2) how does oaf relate to/compete with corba's implementation
> repository? 

The CORBA implementation repository is not specified it is an
"implementation detail" for each ORB.  That being said, recently Alex
educated me and pointed out that a `common approach' is to bind the
Trader to an implementation repository.

So OAF is some kind of Trader/Implementation Repository but does not
implement the Trader interface.

Miguel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]