Can you explain how this makes things faster, I assume XSPs are not convereted to Java and complied each time I access given XSP. Is the performance difference in sitemap processing, cache lookups, etc. If so how much.
Thanks, Artur... > -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 2:11 PM > To: [EMAIL PROTECTED] > Subject: RE: Turning XSPs into Generators > > > > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > > > Hi list, > > > > reading the Performance Guide Draft, it sems to me that turning XSPs > > into Generators is a good idea, is there some general way how to do > > this? Any tips, templates? > > Once you run XSP once, Cocoon will compile them into Java classes (see > tomcat/work/..../org/apache/cocoon/www/my_xsp.class). After that, add > generator to the sitemap: > > <map:generator type="myXSP" src="org.apache.cocoon.www.my_xsp"/> > > And use it: > > <map:generate type="myXSP"/> > > Vadim > > > > > Cheers, Michael > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>