[omniORB] Finding methods in objects / part 2
Casillas_Juan_M/madrid_tecnologia@sinvest.es
Casillas_Juan_M/madrid_tecnologia@sinvest.es
Mon, 29 Nov 1999 16:41:33 +0100
Hi again
Well the Interface Repository sounds great (thanks Duncan), but
omniorb doesn't have
is own one; and Stefan's answer sounds well also; I think about the
following:
=20
well, our sample scenario is one program (say A) asking for =20
all the interfaces that have a method called hello(). All the
interfaces
running must answer its IOR and type (to allow A comunicate with
them) to A.
=20
Well, Im thinking about this:
- first of all, all the programs are attached to an Event Channel
- all the programs runs and adaptor to get and put events (the event
is a piece of information, more or less like a e-mail message).
- A put an event to the Event Channel asking for the method
- All the running programs get the Event (The EventChannel runs
like a broadcast net) process it (maybe using a DII to check =20
if their interface has this method) and return via Event Channel
the answer.
Ok, but ...
How A can instantiate new objects from the implementations,
A knows the IOR, but ... program A can't cast dinamically new
objects from a string ... or It can ?
I want to avoid SPOFs (Single Point Of Failure) so the answer
need to be as distributed and fault tolerant as posible ...
Kind regards
Juan Manuel Casillas
Santander Investment
(systems/technology) =20