The University of Sheffield
Department of Computer Science

Andrew Clark Undergraduate Dissertation 2000/01

"A Comparison of Java Applets, Servlets and JSP"

Supervised by M.Cooke

Abstract

Java has three components which facilitates it's use in writing web-pages with dynamic content – Java Applet, Java Servlets and JavaServer Pages. Applets are useful for delivering web-based applications to a clients machine, providing that machine has a Java compatible browser. Java Servlets are server based components which are usually used in some form of data-management roll, producing dynamic content from data-operations. JavaServer Pages are built on-top of Java Servlets and are able to separate the dynamic generation from the page design, making them idea for distributing data.

There are a number of other languages able to produce dynamic web page content, such as ASP and ColdFusion Script, but none with the cross-platform compatibility of the Java solutions.