The new JNLPAppletLauncher supports deployment of high-end applets using arbitrary extensions such as JOGL for 3D graphics and JOAL for spatialized audio. The user's applet does not have to be signed, and no manual installation of software on the user's machine is necessary. Combined JOGL and JOAL applets are supported by the JNLPAppletLauncher on all OS and CPU combinations where these libraries are supported: currently Windows/x86, Linux/x86, and Mac OS X, both PowerPC and Intel.
Here is a simple example of an applet which combines both OpenGL rendering and OpenAL audio:
The applet above is instantiated with the following code:
<applet code="org.jdesktop.applet.util.JNLPAppletLauncher" width=600 height=400 archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar, http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar, http://jogamp.org/deployment/jogamp-current/jar/joal.jar, http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar"> <param name="codebase_lookup" value="false"> <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"> <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"> <param name="noddraw.check" value="true"> <param name="progressbar" value="true"> <param name="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" value="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"> <param name="jnlpExtension2" value="http://jogamp.org/deployment/jogamp-current/joal.jnlp"> <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> </applet>
Note that the jogl-demos.jar and joal-demos.jar files, which contain the applet's classes, do not need to be signed! JogAmp Community signs applet-launcher.jar, jogl.jar, joal.jar and gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and supporting classes; this is the only Java code which needs to be signed in order to deploy applets using JOGL and JOAL and is the only certificate the end user must accept.
The JNLPAppletLauncher home page contains more information about what files must be placed on the web server in order to enable the deployment of applets using JOGL and other extensions.