HTML5 is more secure than Java. HTML5 is also considered more stable because it does not require regular updates and reboots, typically monthly, like Java. With HTML 5, there is no software or firmware to install or update. It functions directly with your browser. When Java patches are deployed for security updates, sometimes new appliance firmware must be installed.
Posted in: HTML5 vs. Java