tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Endre StĂžlsvik <En...@Stolsvik.com>
Subject Re: How to design a application context servlet
Date Thu, 07 Dec 2000 14:20:39 GMT
On Thu, 7 Dec 2000, Thomas Eitzenberger wrote:

| For this to work we would need a servlet that is started in the startup
| of the Servlet engine and will stay in memory (so not
| serialized/passivated) and active all the time. It will create a pool of
| threads that will listen on different ports for incoming messages from
| external systems and will forward this info via JMS to the
| EJB container.

You can get a servlet to start up on startup of tomcat. This could fork
off a (couple of) thread(s) that kept your threadpool running. If the
servlet container decides that it doesn't need the servlet anymore, I
don't think it would kill the threads.


-- 
Mvh,
Endre



Mime
View raw message