Reputation: 95
I need to make an extensible applet that will have plugins downloaded from server and included dynamically in my applet. I managed to do this locally without an applet, but when I try to port it to the applet I stumble across some problems
UPDATE I managed to load the jars with a URLClassLoader that has the AppletClassLoader as parent so now the libraries mentioned at point 2 are visible to plugin and applet, the problem that remains is how can i sing my plugins(jars) so that they can access resources on client computer
Upvotes: 1
Views: 75
Reputation: 95
I hava managed to accomplish what i wanted by extending the SecurityManagaer according to this post: Signed applet loads signed jar-files using URLClassLoader with security issue
Upvotes: 1
Reputation: 2060
Have you considered Java WebStart and jnlp client instead of applet?
For signing you have to use keytool and jarsigner command line utilities in JDK.
The "plugin" concept here not clear to me.
Upvotes: 0