Chat with our AI personalities
html
Form, Function, Quality, Environment, Size, Client, Material, Maintenance, Safety and Legislation, Manufacture, Ergonmomics, Client
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.
CGI creates process for each client call where as servlet creates process for the first time and then uses thread for each client.
Website scripts run in one of two places - the client side or the server side.Client side development is done almost exclusively in JavaScript. This is, in addition to basic HTML and CSS code.So This is the main Reson Javascript is called Client Side scripting language. For Serverside PHP is used,Because PHP is used for development the Dynamically Website. And PHP Need atlist one serve.