Servlet Definition:
Servlet is a small java program that runs on Server-side, which serves as an Intermediate layer between HTTP ( Hyper Text Transfer Protocol) request of a Client and Application's in the Web Server.
A Servlet is a small, pluggable extension to a server that enhances the server's functionality.
Servlets are server side components that provide a powerful mechanism for developing server side programs.
Servlets are both server and platform-independent, so they have no performance limitations.
Servlets run entirely inside Java Virtual Machine at Server.
Servlets have become an alternative to CGI ( Common Gateway Interface ), Due to the performance limitations of CGI programs.
Servlets are used for building Interactive web applications.
Difference Between CGI and java Servlet?
The main difference between the two is that, once Servlet is Initialized it stays in the server container until there are no requests to serve ( ie : it performs multiple requests ). where as, a CGI program gets destroyed once it has fulfilled a request.
Since servlet are initialize once and serve many type, this makes them faster over CGI, Because CGI should always go through the initialize state for every request made.
Browser Compatibility?
Since the Servlet runs at server side , It does not check the Browser for Compatibility.Servlets run entirely inside Java Virtual Machine.
Servlet Classes
Servlets uses the classes in the java packages
- javax.servlet
- javax.servlet.http
HTTP Protocols
Servlets are not designed for a specific protocols, but they are often used with the HTTP protocols.
HTTP Servlet are typically used for:
- Dynamic Content ( like getting the result of a database query and returning to the client).
- Process or store the data submitted by the HTML.
- Manage info about an stateless HTTP ( e.g. an online shopping cart manages request for multiple concurrent customers). HTTP as a protocol is stateless.
Truly well post! I gain more details from your post and I like more post, please continue blogging...
ReplyDeleteOracle DBA Training in Chennai
Oracle DBA Course in Chennai
Spark Training in Chennai
Social Media Marketing Courses in Chennai
Pega Training in Chennai
Primavera Training in Chennai
Tableau Training in Chennai
Oracle DBA Training Fess in Chennai
Hi,
ReplyDeleteI must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge.
Software Testing Training in Chennai
Software Testing Course in Chennai
CCNA Course in Chennai
Cloud Computing Training in Chennai
Data Science Course in Chennai
Devops Training in Chennai
Software Testing Training in Adyar
Software Testing Training in Tnagar
Most Usefull blog.. thanks for sharing with us... Waiting for your upcoming data...
ReplyDeleteRPA training in bangalore
Robotics Courses in Bangalore
Robotics Classes in Coimbatore
Robotics Courses in Coimbatore
RPA Training in Coimbatore
RPA Training in Coimbatore
Robotics Training Centers in Coimbatore
German Classes in Bangalore
Hadoop Training in Bangalore
Selenium Training in Coimbatore
TITIAN TIN TIN TIN TIN TIN TIN TIN TIN TING
ReplyDeleteTITIAN TIN TIN TIN TIN TIN TIN TIN TIN. The titanium trim hair cutter TIN titanium rings for women is titanium mens wedding bands the trademark of China Gambling. The trademark consists of three titanium rod in leg distinct babyliss pro nano titanium features of the tiniest