cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Cocoon1 -> Cocoon2
Date Wed, 13 Feb 2002 14:38:07 GMT
> From: Geza.Szocs@nokia.com [mailto:Geza.Szocs@nokia.com]
> 
> > But you have to look at the memory aspect too...
> > A new instance of the generator is created at each request and so
the
> > amount of memory allocated keeps increasing.

Not (exactly) true - depends how you implement it. Read on Avalon or
take a look at:
http://jakarta.apache.org/avalon/excalibur/api/org/apache/avalon/excalib
ur/pool/Poolable.html

http://jakarta.apache.org/avalon/framework/lifecycle.html


> :( Too bad.
> 
> > With cocoon2 you can also use a servlet as a generator. It's
> > certainly not
> > the best solution neither but since you have already a servlet...
> 
> How can I do that ? Should I implement the Generator interface too
> in my servlet, or do the HTTP request thing what Jupin suggested ?
> Or is there any other way to do that ? I saw plenty of exapmles
> which use JSP, HTML, XSP and other thing as a generator, but nowhere
> a simple Java (servlet) code.

See http://localhost:8080/cocoon/sub/

Vadim



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message