A Java servlet is a Java software component that extends the capabilities of a server. Although servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.
Servlet Advantage
- Servlets provide a way to generate dynamic documents that is both easier to write and faster to run.
- provide all the powerfull features of JAVA, such as Exception handling and garbage collection.
- Servlet enables easy portability across Web Servers.
- Servlet can communicate with different servlet and servers.
- Since all web applications are stateless protocol, servlet uses its own API to maintain session
No comments:
Post a Comment