A Little History About Java Applets
A Little History About Java Applets
It is
coded using the Java bytecode. Bytecode is a type of programming that is
exclusive for Java programming. Applets make use of the Java Virtual Machine,
more commonly known as JVM, for its working. However, you can also run
them on other standalone tools like the Sun Applet viewer to test applets.
Another advantage with applets is that you don’t have to worry about writing
the code in Java only. All you need is a programming language that will
compile to Java, like Jython.
Also, you don’t have to make any sort of investment if you want to write the
code for Java applets. True, you have to learn java programming but once you
have done that, there are a number of open source tools to compile and test your
applets. In fact, you can develop production level java applets using these open
source tools.
Sandbox Operation
Java applets are operated by most of the web browsers in a sandbox. Basically,
what this means is that the browsers do not provide the applets with access to
the local data, which is data present on the computer. When you access a java
applet, the code for the applet is downloaded from a web server. The code is
then embedded into the webpage code that the browser loads. Basically, the
webpage will remain as a HTML code while the applet will be embedded as a
Java code more detailed explenation at