Java Servlet Development Kit:
- JSDK is the Java Servlet Developers Kit. This is an add on to the regular JDK (Java Developers Kit). The JSDK has the additional files needed in order to compile Java servlets. Included in the JSDK is a Java Servlet Runner program.
- The Servlet Runner is a program that runs on your workstation and allows you to test servlets you have written without running a web server.
- Other files included are the several Java Servlet examples. Included are the Java and .class files for testing purposes and to help you understand how the Java code is implemented. Another important file that is included is the jsdk.jar file. This file includes the class information necessary to compile the servlets
Tomcat Web Server
- Tomcat is product of Apache Software Foundation
- Tomcat is an application server that executes Java Servlets and renders Web pages that include Java Server Pages coding. Catalina is Tomcat's Servlet Container.
- Container provides following Services and helps you to more concentrate on business logic and not worry about following aspects:
Communications support
- Takes care of communication and protocol between itself and webserver Lifecycle Management
Life Cycle Management
- Controls the life cycle of Servlet and thus manages resources availability
Multithreading Support
- Creates a new Java thread for every servlet request it receives. Create and manage threads for multiple requests
JSP Support
- Takes care of translating that JSP code into real Java
Typical
Directory Structure of an application deployed in Tomcat