JSDK - Java Servlet Development Kit

JSDK (Java Servlet Development Kit) is a package containing all the classes and interfaces needed to develop servlets. JSDK also contains a web server and servlet engine to test your creations. The servlet engine provided in JSDK is a basic one(but free). In this article we will show you how to install and run it on your device.

Download JSDK

The first step is to download JSDK Sun which is available from the Sun website:

Installing JSDK

To install JSDK simply decompress the archive (using the tar command in Unix systems) or double-click on the executable file on Windows.
Simply copy the file tree:

  • either in the root directory of the JDK, no configuration is necessary.
  • or in any directory. You must then update the path (PATH) and the path to the classes (CLASSPATH).

To verify that the installation was performed correctly, simply start the servletrunner utility, the servlet engine included in the JSDK, that is to say, a basic server running on port 8080. If JSDK utility is correctly installed servletrunner should return the following lines:

servletrunner starting with settings :
port = 8080
backlog = 50
max handlers = 100
timeout = 5000
servletdir = ./examples
document dir = ./examples
servlet propfile = ./examples/servlet.properties

Image: ©123RF.com

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « JSDK - Java Servlet Development Kit », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).