Servlet Introduction - Smart Tech Guides

Latest

Hi this is Sravan Kumar from India. SMART TECH GUIDES is a technical blog. it helps you to learn about Java topics, frameworks and tools like Jenkins, GitHub & related explanations, data base related topics. All these Explanations are explained in simple and understandable manner.

Subscribe Us

SMART TECH GUIDES

Servlet Introduction

 

Servlet

Servlet technology is used to develop web applications.

With the help of Java Program, we are developing servlet components.

Servlet component is a web component it resides inside web server.

Servlet components are execute inside servlet container.

web servers like tomcat provide one built-in servlet container. 

Servlet container manages servlet life cycle i.e., loading servlet component classes, calling methods, creating objects and destroying objects.   

 

Note: Web server is a piece of software that automates web application and its web components.


How Servlets Works?

End-user types URL in browser and generates requests, web server software (like tomcat) listens request continuously takes that requests maps to appropriate web components (like servlet, html, CSS etc..).

servlet


Web component process the request and results send back to webserver.

web server sends results back to web browser/client as response.

 

No comments:

Post a Comment