Hi Thomas,

 

To answer your questions, I do not know what is happening during that time.
I would have thought that if GlassFish was still serving up the applet then
no rendering would happen at all as I have embedded the SVG objects in the
applet code itself (but only for now).  I can't see how it would be possible
to serve up the applet and the SVG objects separately.  Also, I do not know
if the CPU is loaded and I have not dumped the threads during that time.  I
was hoping that this may be a known phenomenon or that you could easily see
what was actually happening.

 

John

 

From: [email protected] [mailto:[email protected]] 
Sent: Friday, 12 December 2008 22:25
To: [email protected]
Cc: [email protected]
Subject: Re: Strange delay with animations starting in applet

 


Hi John,

"John C. Turnbull" <[email protected]> wrote on 12/10/2008 04:53:32 PM:

> I have managed to get Batik working with an applet but for some 
> reason I find that when I serve up the applet using an application 
> server (GlassFish) on the local host, the animation starts several 
> seconds after the static objects are rendered.  If I serve up the 
> applet using just the local file system then the animation starts
immediately. 
>   
> Any thoughts why this would be so? 

   Any idea what is happening during that time?   
Is GlassFish still serving up files?  Is the CPU loaded? 
Have you tried to get a thread dump from the JVM during 
that time? 

Attachment: PGP.sig
Description: PGP signature

Reply via email to