Features of Servlet

In J2ee servers, Servlet is used to receive and send process requests and response to the client. Servlets are used to gather information from visitors through web-based forums, shows panel data from database from defined source and generates static page dynamically for users.

Advantage of Servlet
  • Efficient Performance
  • Portability
  • Robust
  • Secure

Efficient Performance: – Servlet performance better and creates a thread for request separately. (Different from CGI)

Portability: – Java is Robust language and because of portable.

Robust: – Servlet threads are managed by JVM and doesn’t leak memory and collects garbage.

Secure :– Java languages are secure Servlet is written on Java programming language.