Hello:
El mar, 15-06-2004 a las 09:21, Andre Marais escribi�:
> Hi all,
>
> I understand that the PyGTK list is also the place where the PyORBit
> folks live. Please correct me if I'm wrong, otherwise I need some help:
I also think so.
> I am trying to write a CORBA Server in python using PyORBit. One
> requirement is that I use a CORBA NamingService (Which I am having
> troubles with). This has raised some questions around PyORBit.
>
> 1.) Is PyORBit still an ongoing project?
Yes, supposedly.
> 2.) Is it possible to use PyORBit to bind objects to a NamingService,
> and if so how?
Yes, using the standard Naming Service:
----
orb = CORBA.ORB_init()
servant = hello_i()
nc = orb.string_to_object(sys.argv[1])._narrow(CosNaming.NamingContext)
name = [CosNaming.NameComponent('hello', '')]
nc.bind(name, servant._this())
poa = orb.resolve_initial_references("RootPOA")
poa.the_POAManager.activate()
orb.run()
----
> 3.) Is there anyone who would recommend another ORB (Other than ORBit2
> and PyORBit) implementation to use with python in this scenario?
PyORBit has a incompatiblity problem with no ORBit2 servers [1][2]. I
don't use other python ORBs. Sorry.
>
> Any sharing of experiences would also be appreciated.
So do I.
Cheers
[1] http://mail.gnome.org/archives/orbit-list/2004-May/msg00024.html
[2] http://www.daa.com.au/pipermail/pygtk/2004-May/007718.html
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/