I'm going to deploy my Java game to show it to my friends and whatnot, but I'm having trouble deciding between Java Web Start and applets.
Under what conditions is one preferable over another and what advantages/disadvantages are there?
It is a type of Java program that a user can easily embed in a web page. A Java applet works at the client-side, and it runs inside the browser (web browser). One can use the OBJECT or the APPLET tag for embedding an applet into an HTML page and host it on any web server.
Oracle has announced that Java Applet and WebStart functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start (containing the javaws tool) are all deprecated in JDK 9 and will be removed in a future release.
OWL is open sourceRocket Open Web Launch (OWL) is an open-source solution that's easy to set up, easy to use, and available to anyone who needs it. It's designed to run any application as configured in its JNLP file against a Java version which may no longer officially support Java Web Start.
You can still relive the heyday of Java applets through UltraStudio, an online museum of educational applets, but Java has been mostly replaced by Flash and JavaScript for creating interactive programs on the web.
If your game is going to consume a lot of cpu and memory resources I recommend deploying it as Java Web Start since applets run slower.
If you have some java-javascript interaction you'd better use applets
Here you can find a table with advantages/disadvantages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With