I have a Web Application which runs in two HTML frames viz. Left.html and Right.html . Left frame contains an applet (HeartbeatApplet) that sends requests to a servlet. It's job is to validate session every 1500 miliseconds.
Right frame contains an applet (ViewerApplet) that displays the current statistics of the server. It sends 8 different requests to servlet continuously ( in a while(true) )and updates UI according to the data received. User can select this refresh rate from a combo box on the applet.
The applet goes to sleep ( Thread.sleep() ) for 'refresh rate' seconds and on waking up sends new requests to servlet.
Everything works fine in our development and testing environment, but is failing on client (customer) site.
Now the problem is that this Viewer Applet takes around 30-40 seconds to send the request, even when 'refresh rate'is set 1 second. The Heartbeat applet send request regularly after 1.5 secs without delay.
The behaviuor is strange and Hope we can solve it together.