You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oskar Werewka <ow...@poczta.onet.pl> on 2001/06/07 22:39:17 UTC

XSP life cycle


Can somebody short explain for me the XSP life cycle?
When there is a request to XSP page it is of course instantinated.
But when it is destroyed?

I have some simple cache mechanism, which stores a static Hashtable
in the XSP (producer?) To create this table I made about 8 connections
to the database. And now I can observe that it is eaten by garbage
collector quite often.

And how it is, when there are many concurrent requests to the same producer,
for each request is object created? Or this requests are queued to one 
instantinated
object?

And the last question? The XSP life cycle doesn't have anything to do
with the servlets live cycle?


Thanks for writing an answer for me.
Oskar Werewka



-- 

Kamera wideo Sony, 5000 zl
wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ]


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>