开发者

Global values of application and applet

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" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜