4 ms·
Java in the browser (Applet) is unsecured, because it can download and run untrusted code in the user machine. Java in the server, on the other hand, is as sec
by dikei 5y ago
Java in the browser (Applet) is unsecured, because it can download and run untrusted code in the user machine.
Java in the server, on the other hand, is as secured as any other runtime, i.e only as good as the application written on it.
- TeaVMFan 5y agoAlternatives like TeaVM let you code Java in the browser but it compiles quickly to compact JavaScript. This way you can get the best of both worlds. A typed language, full-stack refactorings, and the security of the browser JS VM. TeaVM Website: https://teavm.org/ https://teavm.org/ Tutorial in Java Magazine: https://blogs.oracle.com/javamagazine/java-in-the-browser-with-teavm https://blogs.oracle.com/javamagazine/java-in-the-browser-wi...
- dikei 5y agoTypescript has already filled the niche of a typed, OOP language in the browser for me. And it's surely much better supported than TeaVM.
- moksly 5y agoIt’s not Java in the browser, it’s the Java virtual environment required to run Java apps. If that’s not the JVM then my mistake.