(By analogy with “applet”) A Java program that runs as part of a network service, typically an HTTP server and responds to requests from clients.
The most common use for a servlet is to extend a web server by generating web content dynamically. For example, a client may need information from a database; a servlet can be written that receives the request, gets and processes the data as needed by the client and then returns the result to the client.
Applets are also written in Java but run inside the JVM of a HTML browser on the client. Servlets and applets allow the server and client to be extended in a modular way by dynamically loading code which communicates with the main program via a standard programming interface.
Servlets are more flexible than CGI scripts and, being written in Java, more portable.
The spelling “servelet” is occasionally seen but JavaSoft spell it “servlet”. There is no such thing as a “serverlet”.
- Java servlet development kit
World-Wide Web (JSDK) A suite of software for easing the development of Java servlets. JavaSoft Servlet Development Kit (http://javasoft.com/products/jdk/1.2/docs/ext/servlet/). (1998-05-26)
noun 1. a finchlike weaverbird, Padda oryzivora, of southeastern Asia, having gray plumage tinged with pink on the belly, often kept as a cage bird. noun 1. a small grey-and-pink finchlike Indonesian weaverbird, Padda oryzivora: a popular cage bird
noun 1. a trench in the Indian Ocean, S of Java: deepest known part of Indian Ocean. 25,344 feet (7725 meters) deep.
- Java virtual machine
language, architecture (JVM) A specification for software which interprets Java programs that have been compiled into byte-codes, and usually stored in a “.class” file. The JVM instruction set is stack-oriented, with variable instruction length. Unlike some other instruction sets, the JVM’s supports object-oriented programming directly by including instructions for object method invocation (similar to subroutine […]