Hello all: I want to export some methods of my product via CORBA. I'm looking up how to start the ORB loop inside Zope, but I can't see the correct form... Has anybody integrated a Corba ORB with ZOPE sucessfully? Thanks in advance -- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT ---- Antonio Beamud Montero Agora Systems S.A. http://www.agoratechnologies.com
Antonio Beamud Montero writes:
I want to export some methods of my product via CORBA. I'm looking up how to start the ORB loop inside Zope, but I can't see the correct form... Has anybody integrated a Corba ORB with ZOPE sucessfully? I only know of successes when Zope has been a CORBA client (--> mailing list archives).
To run the ORB mail loop inside Zope, you probably do it best in its own thread. Be careful, when you access Zope's persistent objects. You will need a ZODB connection and carefully handle transactions. Read the ZODB3 documentation (--> Zope.org). Dieter
I think a bridge between Zope XML-RPC and CORBA is the best solution. It is relatively easy to implement. -- Marco Catunda On Mon, 2002-07-08 at 15:58, Dieter Maurer wrote:
Antonio Beamud Montero writes:
I want to export some methods of my product via CORBA. I'm looking up how to start the ORB loop inside Zope, but I can't see the correct form... Has anybody integrated a Corba ORB with ZOPE sucessfully? I only know of successes when Zope has been a CORBA client (--> mailing list archives).
To run the ORB mail loop inside Zope, you probably do it best in its own thread.
Be careful, when you access Zope's persistent objects. You will need a ZODB connection and carefully handle transactions. Read the ZODB3 documentation (--> Zope.org).
Why not include the CORBA ORB event loop inside ZOPE ORB event loop. This way you can use Zope objects directly (No through XML-RPC), and you can integrate legacy system's easily... ¿no? On Mon, 2002-07-08 at 20:58, Dieter Maurer wrote:
Antonio Beamud Montero writes:
I want to export some methods of my product via CORBA. I'm looking up how to start the ORB loop inside Zope, but I can't see the correct form... Has anybody integrated a Corba ORB with ZOPE sucessfully? I only know of successes when Zope has been a CORBA client (--> mailing list archives).
To run the ORB mail loop inside Zope, you probably do it best in its own thread.
Be careful, when you access Zope's persistent objects. You will need a ZODB connection and carefully handle transactions. Read the ZODB3 documentation (--> Zope.org).
Dieter -- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT
---- Antonio Beamud Montero Agora Systems S.A. http://www.agoratechnologies.com
Antonio Beamud Montero writes:
Why not include the CORBA ORB event loop inside ZOPE ORB event loop. This way you can use Zope objects directly (No through XML-RPC), and you can integrate legacy system's easily... ¿no? If the ORB is open enough, it might be integrated with the medusa (ZServer) main loop.
But, independent on how you embed the ORB's main loop, when the dispatched methods access Zope objects, all difficulties mentioned in the previous message apply. It will not be easy! Dieter
My orb is ORBit. I only want a wrapper around a Zope method (at this moment), I won't modify any property, I only want read. Where I should launch the thread, in the __init__.py of the product?... Where I can see a simple example of a similar task... Greetings... On Tue, 2002-07-09 at 19:08, Dieter Maurer wrote:
Antonio Beamud Montero writes:
Why not include the CORBA ORB event loop inside ZOPE ORB event loop. This way you can use Zope objects directly (No through XML-RPC), and you can integrate legacy system's easily... ¿no? If the ORB is open enough, it might be integrated with the medusa (ZServer) main loop.
But, independent on how you embed the ORB's main loop, when the dispatched methods access Zope objects, all difficulties mentioned in the previous message apply. It will not be easy!
Dieter -- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT
---- Antonio Beamud Montero Agora Systems S.A. http://www.agoratechnologies.com
Antonio Beamud Montero writes:
My orb is ORBit. I only want a wrapper around a Zope method (at this moment), I won't modify any property, I only want read. Where I should launch the thread, in the __init__.py of the product?... Where I can see a simple example of a similar task... You may have a look at "Xron".
It starts a separate thread to schedule time based tasks (similar to Unix' Cron deamon). Dieter
participants (3)
-
Antonio Beamud Montero -
Dieter Maurer -
Marco Catunda