Re: applets, applications and static declarations
On Jan 22, 9:15 pm, Roedy Green <see_webs...@mindprod.com.invalid>
On Thu, 21 Jan 2010 23:30:10 -0800 (PST), Andrew Thompson
<andrewtho...@gmail.com> wrote, quoted or indirectly quoted someone
who said :
Launch them both using JWS, and implement the
SingleInstanceService/Listener. I have a demo
I have not explored JWS for Applets yet. What does it buy you?
Are you referring to free-floating or embedded?
As a 'for instance' of the differences, the JNLP
SingleInstanceService would work well with
free-floating applets, but I do not know what it
would do with embedded applets should the user
choose to open two browser tabs showing the
exact same applet page.
I would guess the biggie would be automatic access to the proper jar
containing the JNI code for the particular platform. That is very
difficult to do with a raw Applet.
Is it possible to add a binary to an embedded
applet at run-time? I understand that an applet
can use a native if it is already on the system
path for natives, but that would require a trusted
applet to unpack the native, put it in the right
binary path, then restart the VM (somehow) to
refresh the JREs knowledge of the natives available.
(Wouldn't it? I really have little experience
deploying embedded applets with natives.)