[omniORB] corbaloc/corbaname

bjorn rohde jensen shamus@tdcadsl.dk
Fri, 08 Feb 2002 00:45:15 +0100


Hi Nick,

 Well, i do see your point. One does have to be a bit practical too.
Are you planning to use a name service on each mail host to keep track
of the current mail boxes by registering mail box references in it?
It could be a simple way to do this.
 I can think of many increasingly (over) complicated ways to build a
CORBA based messaging system without corbaname URI's. You have such a
large design space, it is hard to deside. You could choose to register
mail boxes or a server managing a set of mail boxes in a name or trading
service. You could choose to use one global or many federated services.
I would not use hostnames to identify mail boxes or servers. The only
thing, i would use a corbaloc or corbaname for, is in the config file
for boot straping the application.
 Feel free to ignore me:)

Yours sincerely,

Bjorn

Nick Murtagh wrote:
> 
> On Thursday 07 February 2002 16:47, bjorn rohde jensen wrote:
> > Hi guys,
> >
> >  I suppose, it is a bit pedantic, but i don't like the idea of feeding
> > host names and such to CORBA, which is supposed to abstract this sort
> > of thing, by using corbaname URI's in the actual applications.
> >  Secondly, the name service can do more than simply provide a
> > key-object mapping. It also provides iterators for exploring the naming
> > graph, although, i doubt, many actually do that sort of thing.
> 
> Ok, here's my situation. I'm writing a mail server in CORBA. It uses email
> addresses similar to internet mail, in that the server name is part of the
> address. When sender a message to a remote server, you need to contact
> that server across the Internet. Can you explain how to do this without using
> corbaname? [In case this scenario sounds weird, it's for a final year project
> in college, not a real world application]
> 
> Nick