Hi,

almost every servlet of my WebKit context relies on the same MiddleKit store
being available. Currently, I do keep a global array of initialized stores, the
servlet gets one when it does awake() and puts it back into the array within
the sleep() function.

I wonder if there's a better way to do it, such as making my context a plugin
and initializing only one store in the __init__.py file or the
InstallInWebKit() function, taking advantage of the 'SQLConnectionPoolSize'
setting for the MiddleKit store.

So how should I do this? Can several servlet instances share the same store in
a thread safe way?


MV

-- Martin Virtel
[EMAIL PROTECTED]
aim / yahoo messenger mvftd
tel. +49 177 242 2889


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to