Re: how to thread a really computationally intensive page ?
Re: how to thread a really computationally intensive page ?
- Subject: Re: how to thread a really computationally intensive page ?
- From: Mike Schrag <email@hidden>
- Date: Thu, 27 Mar 2008 14:20:45 -0400
We're looking at various options -- improve the Java code, generate
the reports off-line as static HTML, etc.
I would recommend probably computing the report in a long response,
pushing the results into an intermediate model (not necessarily EO-
based, maybe just POJO's) and then render that in your page. I've
never tried actually RENDERING a page in a long response, but I
suspect it's going to be sort of nasty to get it behaving properly.
You should not be using your long response's context if you are -- you
should make a new one (or clone your current context). This should be
roughly equivalent to the docs for ERJavaMail where it talks about
sending component-based emails.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden