Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL
Дата
Msg-id Pine.LNX.4.33.0401302015340.1439-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL  (listas@lozano.eti.br)
Список pgsql-general

On Fri, 30 Jan 2004 listas@lozano.eti.br wrote:

> Hi,
>
> > > Web applications should NEVER fork processes or create their own threads.
> > > Period. Do this isn't safe in any environment, os, web server or
> > development
> > > tool. You can see on the J2EE specs that Servlets and EJBs are expressly
> > > prohibited from doing this.
> >
> > Is this true?  I know lots of servelet developers (mostly using Tomcat) that
> > do this all the time without encountering any problems.  Could you point me
> > to the part in the spec where it indicates that this is inappropriate?
>

This was recently discussed on the jdbc list here:

http://archives.postgresql.org/pgsql-jdbc/2003-12/threads.php

The general consensus was that threads are legal in servlets.

Kris Jurka


В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: DB cache size strategies
Следующее
От: ljb
Дата:
Сообщение: Re: Problem with API (libpq) - detailed error codes