Servlets - SPLessons

Chapter 1

Servlet Tutorials

Servlet Tutorials

Servlet Tutorials will give an overview of what is the advantage of Servlet, Servlet is a very powerful technology which extends the functionality of web servers. Mainly Servlets are a Java Enterprise Edition and one can call it as J2EE. The servlet is a server side programming language which is used for developing web applications communicating through HTML (HyperText Markup Language) and XML (Extensible Markup Language) files.

The servlet is a technology to create web applications. Web applications help the web server to build dynamic web contents (such as query of the database). Servlet generates HTML text. Servlets takes HTTP Request from a browser, generate dynamic web content and produced HTTP Response is sent back to the browser in the form of HTML.

Servlet Tutorials, above figure is a practical working of the Servlet concept. Where the client request the browser that capable of communicating with the server, the server accepts the request and finds the requested page, server formats the requested page gives that to the browser, where browser renders the content to visible format to the client. Actually Servlet is came to the picture to overcome the problems of CGI(Common Gateway Interface), the drawback of CGI is that If number of clients increases, it takes more time for sending response.

Before learning the Servlet Tutorials user should have a basics regarding core Java, html, jdbc will be an added advantage but these are not compulsory. To start learning core Java refer SPlessons website that will be in an easy way to understand.

Summary

  • Servlet Tutorials – The Servlet can be defined as dynamic Java program.
  • The Servlet can be defined as an API or an interface.
  • Basic understanding of the programming is mandatory while building  the web application.
  • CGI stands for Common Gate Way Interface.