Do you want to learn Servlet

Today we all are aware of the need of creating dynamic web pages i.e the ones which have the capability to change the site contents according to the time or are able to generate the contents according to the request received by the client. If you like coding in Java, then you will be happy to know that using Java there also exists a way to generate dynamic web pages and that way is Java Servlet. But before we move forward with our topic let’s first understand the need for server-side extensions.

Servlets are the Java programs that run on the Java-enabled web server or application server. They are used to handle the request obtained from the webserver, process the request, produce the response, then send a response back to the webserver.

A web application is an application accessible from the web. A web application is composed of web components like Servlet, JSP, Filter, etc. and other elements such as HTML, CSS, and JavaScript. The web components typically execute in Web Server and respond to the HTTP request.

Six basic steps:
The clients send the request to the webserver.
The web server receives the request.
The web server passes the request to the corresponding servlet.
The servlet processes the request and generates the response in the form of output.
The servlet sends the response back to the webserver.

The web server sends the response back to the client and the client browser displays it on the screen.

Learn others - Once you understands the basic of Servlet then other related technologies like Spring, Spring MVC, and Spring Boot etc. are become easier to understand.

There are many platforms where Servlet is taught, but I will tell you some platforms from where you can learn Servlet very well, let me provide you some links and you will see from them, I guarantee that your 100% Servlet will be good.

you can learn by  YouTube
you can learn by  GeeksforGeeks
you can learn by  JavaTPoint

Post a Comment

0 Comments