With desktop applications, to maintain global values, I usually have some singleton or static properties. However, recent days, I have been working with applet. And it causes some trouble because when I we open the application in different tabs of Firefox, the applets are l开发者_JAVA百科aunched in the same JVM and share the sames static things.
I wonder how you do manage global values in this case?
For applets running in a Next Generation Java Plug-in Technology JRE, it is easy.
<param name="separate_jvm" value="true" />
精彩评论