(This is a bit subjective). Servlets can integrate easily into an existing Java application or applet, simply because a servlet is just another class, which is a fundamental concept taught to almost every java programmer.
Java Applet is an application designed to transmit on internet to execute on java compatible browsers. Java Servlet is a server side program used to provide services to clients.
Applet: It is run on browser, i mean client side. Servlet: It is run on server, i mean server side.
Applet is a part of Core JAVA and Servlet of Advance Java. Applet is client side program and Servlet is Server side. When Applet runs it take the resources of client whereas Servlet is processed at server. An Applet's class, jar files can be accessed and downloadable by client but not so in case of servlet. Applets can run under any web browser their execution is dependent on Client as they require JRE Whereas Servlets do not require any thing specific at client side, as they require java enabled web/application Server. Dilpreet Singh (SCJP,OCA 9i) www.geocities.com/heartsinghThe main difference is that a servlet is a server side component while applet is a client side component, moreover, a servlet doesn't have GUI while applet have GUI. A servlet runs inside a server and results are sent to client, so it consumes less network bandwidth, and also secure, while applet runs on client side in a browser, so entire code for applet is 1st sent to client and then it is executed on the client machine itself, so it also consumes more network bandwidth.
An applet runs in a browser; a standalone application works like a traditional application, which you launch directly from your operating system.An applet runs in a browser; a standalone application works like a traditional application, which you launch directly from your operating system.An applet runs in a browser; a standalone application works like a traditional application, which you launch directly from your operating system.An applet runs in a browser; a standalone application works like a traditional application, which you launch directly from your operating system.
An applet is a Java application, this saves files in a .class extension
An applet is a small program module which runs under the control of a larger application, for example a web browser.
A Java applet is embedded within a web page, while a Java application will run directly on your computer.
Applet in Java refers to the small application that is written in the language and is available to the users in the form of byte code.
APPLET
Applet
2 types of java programs are application and applet application program is the one which run on ur computer under the O.S of ur computer. applet is an application designed to be transmitted over the internet and executed java compatible web browser.
the two types of java programs are Applet and application programs