Loading...

Servlets

Servlets is a Web Technology from "Sun Micro Systems" . Servlets is J2EE Technology. Servlets is a specification to Web Server (Container) manufactures. Servlets API is used by the web application developers to make web sites inter active. A Servlet extends the funcationality of a web server. A servlet is a server side piece of code known as "Web Component". Web Component are JSP and Servlets. A Servlet produces dynamic web content. A Servlet is a dynamic web resource in a web application. A Servlet is a Java Class. A Servlet contains Java Code plus HTML Code. Java Code means dynamic Sake and HTML Code means Presentation Sake. Servlets using Web Application Development (WAD).

Servlet Development

A Servlet is a container (Server Software) managed public java class that implement directly or indirectly. javax.servlet is package. Servlet is an Interface.

Web Container Model

A Web Container is Server Software that Comprises of Three Modules.

1. HTTP Service (or) Default Handler (or) Web Server.

2. Servlet Engine (or) Container.

3. JSP Engine (or) Container.

We have two kinds of applications in Java

Any computer applications is said to be a web application if we can access it’s services from web (Internet Service). To offer online business services to customers, we go for web applications.

1. Windows Based (or) Desktop Applications

2. Web Applications.

Purpose of Server Side Programming

To overcome, the limitation of the Web Server, Server Side Programming is required. Server Side Program performs the following duties in general.

1. Capturing Web Form Data.

2. Building the dynamic data (or) Processing the Retrieved Data.

3. Creating dynamic web content (Dynamic Web Page) basing on the data produced in second step and giving the page to the Web Server.