jPost Applet does not work with Sun JVM

D

Diana

Hello,

I've got what I believe is a unique problem. I have a jsp based
application which shuttles data back and forth between the server and
client using a jPost applet (http://java.sun.com/openstudio/jpost/).
Basically, javascript functions send Strings, ints and booleans to the
applet which then passes them to the server. This allows state to be
maintained on the server without constantly flashing the page.

Here's the issue: my company was using IE 6 with the Microsoft JVM.
This worked like a charm. However, we're switching to the latest Sun
JVM and suddenly I've got corrupted data and major performance issues.
It appears to me that there are threading issues here, as the data
from multiple responses seems to get mixed together.

I've attempted to resolve this by synchronizing all methods in my
applet and the code that it calls on the server, but this did nothing.
If I try to hack in synchronization to the javascript it degrades
performance to the point that the browser won't even run it.

I'm at a bit of a loss, if anyone can help I'd be so thankful!
 
R

Roedy Green

I've attempted to resolve this by synchronizing all methods in my
applet and the code that it calls on the server, but this did nothing.
If I try to hack in synchronization to the javascript it degrades
performance to the point that the browser won't even run it.

You have two separate streams. You really should be talking on two
separate sockets. Perhaps this has something to do with keep open
being made a default.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top