Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Java applet
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Technical information == Most browsers executed Java applets in a ''[[sandbox (security)|sandbox]]'', preventing applets from accessing local data like the [[file system]].<ref>{{Cite web|title=What Untrusted Java Code Can't Do|url=http://www.securingjava.com/chapter-two/chapter-two-2.html|access-date=2021-12-26|website=Securingjava.com|last1=McGraw|first1=Gary|last2=Felten|first2=Edward|year=1999}}</ref> The code of the applet was downloaded from a [[web server]], after which the browser either [[compound document|embedded]] the applet into a web page or opened a new window showing the applet's [[user interface]]. The first implementations involved downloading an applet class by class. While classes are small files, there are often many of them, so applets got a reputation as slow-loading components. However, since <code>[[JAR (file format)|.jar]]</code> files were introduced, an applet is usually delivered as a single file that has a size similar to an image file (hundreds of kilobytes to several megabytes). Java [[Static library|system libraries]] and [[Runtime library|runtimes]] are backwards-compatible, allowing one to write code that runs both on current and on future versions of the Java virtual machine. === Similar technologies === Many Java developers, blogs and magazines recommended that the [[Java Web Start]] technology be used in place of applets.<ref>{{cite web |last1=Srinivas |first1=Raghavan N. |date=2001-07-06 |url=https://www.infoworld.com/article/2075391/java-web-start-to-the-rescue.html |title=Java Web Start to the rescue |work=[[JavaWorld]] |access-date=2020-07-13}}</ref> Java Web Start allowed the launching of unmodified applet code, which then ran in a separate window (not inside the invoking browser). A [[Java Servlet]] is sometimes informally compared to be "like" a server-side applet, but it is different in its language, functions, and in each of the characteristics described here about applets.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Java applet
(section)
Add topic