tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Souther <...@souther.us>
Subject RE: Permanent servlet in TC7
Date Fri, 27 Jul 2012 20:55:30 GMT
On Thu, 2012-07-26 at 19:54 +0000, Chip McVey wrote:
> So I'm looking for a guarantee that no automatic destroys will happen
> going forward just because Tomcat decides to do it on its own.  If it
> is instructed to shutdown/undeploy/unload by some outside system or by
> a human user, that's fine, I'm not worried about that.  But I don't
> want these servlets to be destroyed just because Tomcat decides to do
> so for whatever reason.

If I were looking for permanence, I would create POJO, bind it to
context scope, and then call it from my servlets, passing it whatever it
needs to function.




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


Mime
View raw message