Technology Software

Definition of Applets in Java

    Java Gene

    • Java bytecode is what gives it the key part of its name. The bytecode is in Java, one of the most influential programming languages today. Most Java-enabled browsers can understand it. It is technology agnostic and as such it allows the Applet to run in the browser hosted on all major platforms like Windows, Mac, Unix and Linux.

    Program

    • Java Applet is in essence just a program. It is normally coded in Java but that doesn't always have to be the case. Languages that compile into Java bytecode like Jython, Ruby and Eiffel could also be used.

    Special

    • Any Java program can't qualify to be an Applet. The program class needs to be a subclass of the java.applet.Applet class for web usage or a subclass of javax.Swing.JApplet for stand-alone application usage. Similar restrictions will apply in other languages that compile into Java bytecode.

    Embedded

    • An Applet can be included in the Web page by the usage of applet or object HTML tags. The browser then downloads the Applet and embeds it in the Web page when the page is first accessed. The applet tag is now deprecated and hence not recommended. Although the usage is still quite common as it is the only tag that offers common support for all major browsers. As of early 2010, the object tag needs the support of JavaScript to make that happen and therefore its use is not as prevalent.

    Sandbox

    • The Web is not the safest of places and client resources need to be protected from unwarranted access. It is for this reason that the Applet can only operate in its own sandbox. Its access rights are limited. As an example it can't access the file system of the client computer or read from its clipboard.

    Capability

    • A Java Applet will add additional capability not otherwise possible in the available environment. As an example, it can be used to provide advanced interactive features that can be built around capturing mouse inputs. HTML and JavaScript are not potent enough to help there. It can also be used for computational intensive visualizations using 3-D hardware acceleration possible with Java.

SHARE
RELATED POSTS on "Technology"
How Do I Print Business Cards With Microsoft Publisher?
How Do I Print Business Cards With Microsoft Publisher?
How to Reduce the Size of Photos Using Adobe Photoshop Elements 3.0
How to Reduce the Size of Photos Using Adobe Photoshop Elements 3.0
Features and Benefits of Project Portfolio Management
Features and Benefits of Project Portfolio Management
Fix Registry - Fix Registry Errors Easily
Fix Registry - Fix Registry Errors Easily
Business Intelligence Solutions and Services
Business Intelligence Solutions and Services
AutoCAD Architecture
AutoCAD Architecture
Best Social Networking Apps
Best Social Networking Apps
IKE
IKE
Help Desk Software by help-desk-software
Help Desk Software by help-desk-software
What's Better - Building a BPM Solution Or Buying One?
What's Better - Building a BPM Solution Or Buying One?
How to Make Music Fade out in Moviemaker
How to Make Music Fade out in Moviemaker
How to Shrink a DVD With Nero Instructions
How to Shrink a DVD With Nero Instructions
Live Chat Software: Four Tips To Help You Get the Most Out of Your Software
Live Chat Software: Four Tips To Help You Get the Most Out of Your Software
How to Stop Rootkits
How to Stop Rootkits
3 First-Rate Foundations for Making Movies
3 First-Rate Foundations for Making Movies
How to Build Game Downloads
How to Build Game Downloads
The Linux Modem How-To
The Linux Modem How-To
Text-Terminals on Linux - 11.6 Terminal Server Connection
Text-Terminals on Linux - 11.6 Terminal Server Connection
The Linux Loadable Kernel Module How-To
The Linux Loadable Kernel Module How-To
How to Create Photo Albums With CSS
How to Create Photo Albums With CSS

Leave Your Reply

*