tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tino Schwarze <tino.schwa...@tisc.de>
Subject Re: Challenges for Java hosting
Date Thu, 06 Apr 2006 17:15:24 GMT
On Thu, Apr 06, 2006 at 09:15:17AM -0700, Preston L. Bannister wrote:

> You have to consider how (or if) to allow for long-running background
> threads.  Successive requests for the same user will not use the JVM
> (whether this counts as an advantage or disadvantage is debatable).  The JVM
> isn't going to be optimizing code.

The point of using an application server (instead of e.g. PHP) is that
it maintains state on the server. You lose this by using fork(). So it's
not going to work at all for real applications since your application
"returns" to it's previous state after every request.

Bye, Tino.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message