Re: Multi-threaded servlet environment

From: Nic Ferrier <nferrier(at)tapsellferrier(dot)co(dot)uk>
To: "David Wall" <d(dot)wall(at)computer(dot)org>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Multi-threaded servlet environment
Date: 2003-12-30 19:57:44
Message-ID: 87zndadqo7.fsf@kanga.tapsellferrier.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"David Wall" <d(dot)wall(at)computer(dot)org> writes:

> FYI since I posted this to the wrong list you might be interested in this
> answer. It does call into question whether using threads is really going to
> be a problem or whether user-created threads will be allowed. It does seem
> silly to say we can't use threads since all background processing requires
> it, and nothing but the most trivial of web sites would have no background
> processing needs.
>
> Nic, how does this jive with your statement that the specs don't say
> anything like this? Are we misunderstanding what is implied here?

The spec does not prohibit the creation of threads in servlets. It
makes it quite clear that the decision is for the container implementor.

If you're interested the reason we put it in (if I remember
correctly) is that thread limiting would be necessary for some
session sharing environments.

Nic

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2003-12-30 20:30:03 Re: getGeneratedKeys()
Previous Message Marcus Andree S. Magalhaes 2003-12-30 19:26:13 Re: Multi-threaded servlet environment