From: Brian Brown <bbrown@ic...> - 2002-01-17 18:25:44
It's been a long route to get here -> Perl CGI -> ASP -> Zope -> WebWare
(over the course of many years :), and so far, IMHO, Webware is a dream
come true, just like Python :)
Now on to my question: I am querying Jabber entities for information an
presenting that on my web site... using the web as an administrative front
end to an application that uses Jabber as the messaging infrastructure.
My question relates to what would be the best mechanism within Webware to
facilitate sharing a jabber client across the servlets that get created to
service the requests. Right now it seems that every thread is getting one,
so Jabber messages the come in might not show up for the thread that is
servicing my request.
Ideally, I would like to maintain something in the main event loop, so the
socket is maintained.... but I'm not sure what would be appropriate, as I'm
not very familiar with the architecture yet (this is my second day using it)