Join
Blogs
Questions
Videos
Tags
Members
Search
 
 
Create your own blog, earn points and get popular!

Java Servlet, Java Servlet Resources

What is Java Servlet?

Java Servlet is a piece of Java code that runs on server. Thus Java servlet is a server side Java component.


How Java Servlet differs from CGI?

The main difference between Java Servlet and traditional CGI is that whenever a HTTP request comes, CGI starts a entirely new process. While with Java Servlet, Java Virtual Machine starts a new thread to server the HTTP request. So with CGI, new copy of program is loaded into memory with each request, while in java servlets, there will be only one servlet loaded and multiple threads will be spawned with each request. So servlets are more efficient than CGI.

In addition to this, Java Servlets are platform independent. Plus java Servlets are inexpensive, because there are number of web servers available for free to use.


How JavaDeveloper's Servlet Section can help?

First thing first. Go through the Java Servlet 2.3 Specification.

Learn how to develop Java Servlet from Java Servlet Tutorials section.

Download Apache tomcat. Download Installation instructions from tomcat section.
No votes yet
Share this

Post new comment