Peer to Peer and Bonobo (learning bonobo)

Hi all,

I'm back playing with Bonobo, but after playing some more
with it, I'm not sure if I really do understand all of it.
So I'm afraid I have some really newbie questions here.

What I'm trying to achieve (just as an exercise) is to create 
a simple sample peer to peer chat program, where every 
instance of the program is thus a server and both a client 
to all the onder nodes in the network.

When the chat program is launched it looks up all the activated
instances, puts them in a list, and finaly "subscribes" himself
to all the other found running instances.

I don't know if CORBA/Bonobo/BonoboActivation really is suitable 
for this, btw.

Anyhow, first of all, it is not clear how I should look
up all other running servers (ok, I read about the oaf query
language and the _active thingy, but still ...). 

Second, what kind of server has this to be. I never really
used something else then a factory server, and I don't
know what the others are/do :) Neverteless I assume
a factory server would be suitable for this.

And finaly, my uber-newbie question : Just to check if I
do understand or not :

With the factory server : if a client is for the first time
started, the server will be started too. With every new client
the server creates a new servant (an implementaion of the idl
iface using a BonoboObject in this case) corresponding with
every client. That's all there is to it? :)

Hmmmz, maybe some good pointers to some information would help 
too ;)

Thank in advance, Steven

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