|
Doru-Catalin Togea
doru-cat at student.matnat.uio.no
Mon Sep 12 10:31:20 EDT 2005
Hi!
I am not sure wheather I should use the word service or server (or
something else) in the following, so I will stick to "service".
I have some C code which I need to call from mod_python in a
web-service implementation. I need a persistent web-service, meaning
either that my service is started up when Apache starts, or at the first
call made for my service. What I need is to have some C-structs
initialized and which survive calls to my service, until Apache shuts
down. If it wasn't for this need of persistency I could use some simpler
mechanisms like CGI.
To put it another way, I need a CORBA-like server, only based on Apache.
In a CORBA implementation, the server keeps running and serves requests
from clients as they arrive, without losing state between calls.
Any suggestions on how to go about this task using Apache and mod_python?
Thanks for helping,
Catalin
--
<<<< ================================== >>>>
<< We are what we repeatedly do. >>
<< Excellence, therefore, is not an act >>
<< but a habit. >>
<<<< ================================== >>>>
|