Re: AW: making a singleton servlet

2005-12-07 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Strauß wrote: > This worker-thread can easily serialize all incoming requests in a working > queue (database- or file-based) and your servlet just pushes a job into the > working queue for the thread. That is my basic plan is to have one th

AW: making a singleton servlet

2005-12-07 Thread Thomas Strauß
Hi, If I understood you correctly, the problem you are trying to solve should better be solved by a worker-thread-singleton that is started for example by your servlet's init() method. This worker-thread can easily serialize all incoming requests in a working queue (database- or file-based) an