Home > Software > Java > Core-Java
Interview Questions   Tutorials   Discussions   Programs   

Core-Java - Difference between Applet & Application?

asked marvit September 17, 2014 05:08 AM  

Difference between Applet & Application?


1 Answers

answered By Madhumathi   0  

An applet runs under the control of a browser, whereas an application runs stand-alone, with the support of a virtual machine. As such, an applet is subjected to more stringent security restrictions in terms of file and network access, whereas an application can have free reign over these resources.

Applets are great for creating dynamic and interactive web applications, but the true power of Java lies in writing full blown applications.Used to run a program on client Browser.Applet is portable and can be executed by any JAVA supported browser.Applet applications are executed in a Restricted Environment. Applets are created by extending the java.applet.Applet With the limitation of disk and network access, it would be difficult to write commercial applications (though through the user of server based file systems, not impossible). However, a Java application has full network and local file system access, and its potential is limited only by the creativity of its developers.

Applet application has 5 methods which will be automatically invoked on occurance of specific event

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!