You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Rizzo <er...@jibeinc.com> on 2003/01/28 00:17:05 UTC

[OT] Re: Flash+Struts how?

Joe Barefoot wrote:
 > <snipped/>
 >> The Flash parses the XML and applies it to the UI appropriately.
 >> Works quite well and with no noticeable CPU usage on the client - a
 >> problem we had with the previous, complicated HTML interface for
 >> this part of the app.
 >
 >
 > I'd be curious as to what you're doing in HTML that could possibly
 > consume more CPU than rendering anything in Flash.  I would assume
 > you must have some massive JS arrays/functions to cause appreciable
 > CPU consumption of the sort you describe.

Rendering of large and/or complex HTML tables in IE and Netscape can be 
pretty CPU-intensive for a short time. We noticed a short CPU spike 
every time that page was loaded - I at first assumed it was the 
action/business-logic/JSP-population that was responsible, but the 
minute we changed the output to send XML to Flash instead of HTML to 
browser, the spike totally disappeared.
It probably doesn't hurt that JDOM is lightning quick for outputting 
documents to a stream (small ones, at least) - I don't know how fast or 
slow the code is that Jasper generates from JSP (but I do know that it 
is ugly ;-).

	Eric
-- 
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com


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