We have an application that uses multiple applets that need to be able to communicate with each other (ie. share a single java.exe). In 6u32 our application works as expected, however since installing Java 7, even when specifying a java_version = 1.6* we have found that our applets are intermittently no longer able to share a single VM. In these cases I see multiple java.exe in my task manager and our application cannot function correctly.
Has anybody seen this behaviour at all, or have any suggestions about how we can address it to ensure that our applets share a VM reliably?
You have to consider that what you were doing before is woefully against the rules even if it was somehow allowed - to me it seems like a major hole that it was even possible as one applet could influence another.
It is a good thing that each applet runs as its own process much like it is a good thing that each tab in a browser runs as its own process - when one of them crashes, the others do not.
Thanks for the replies. I'm not sure whether it will be possible to rewrite our inter-applet communication, indeed the below link indicates that what we are doing should work (and has done to date, but seemingly not under Java 7), but we'll investigate whether the applet context streams are what we need to be using.