What is the difference between an applet and an application ?
In : BCA Subject : Java ProgrammingIn simple terms, an applet is a web page that runs in a browser, but an application is a standalone programme that runs with the help of a virtual machine.
As a result, in terms of file and network access, an applet is subjected to more stricter security limitations, whereas an application has complete control 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. 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.