Thanks for the reply, firstly I should mention I am using cocoon 2.1.5
and Tomcat.
To describe the page I have problems with:
I have a cform which contains a repeater called
1) categories - this contains a repeater itself called
2) lineItems - which contains a repeater
3) links - which contains 2 repeaters
4) params & commands
When these are laid out on the page the categories have display orders
and column numbers all "link" items have various preferences applied to
them (display/hide... ) depending on the users preferences.
At present I have been achieving the display order, columns and
preferences by laying out the page using the JXTemplate generator and a
number of jx:foreEach's where I loop through categories then within that
lineItems etc, etc and depending on their column number preferences...
I have done this type of scenario many times in quite a few
applications, it this is the first time I have had so many resources
used up (hence why I suspect it is the forEach's contained within
forEach's).
I know there was a problem with Tomcat 4 producing one object for every
jstl's forEach creating too many objects (forgive me for being a little
fuzzy on the details it was some time ago) which was fixed in 4.1 by
Graig McClanahan I believe.
I hope this is not too confusing. I am under a lot of pressure to get
this working (the company I am working for are panicking).
Joe
-----Original Message-----
From: Leszek Gawron [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 March 2005 7:34 PM
To: [email protected]
Subject: Re: JXTemplateGenerator performance
Joe Latty wrote:
> I have come into some problems when doing performance testing. The
> application uses cforms and continuations (all going well), however
one
> of the pages has multiple <jx:forEach../> loops. This page is
producing
> loads and loads of processes.
>
>
>
> Running the app without hitting this page (or alternatively hitting
the
> page with the JXTemplate stuff commented out) and the performance
> results, with 500 users, are less than a second response time. With
the
> (JXTemplate) page it climbs to 13-15 seconds.
>
>
>
> Has anyone come up against this...
We have not heard any problems concerning jxtg performance. Could you
give us a little bit more detail?
--
Leszek Gawron MobileBox
[EMAIL PROTECTED] http://www.mobilebox.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]