Prev Tutorial Next Tutorial

Why Use Servlet

Servlet is a java program, exist and executes in j2ee servers, used to received the http protocol request, process and send response to client.

Using Servlets, we can collect input from users through web page forms, present records from a database or another source, and create web pages dynamically.

Advantage of Servlet

  • Better performance:
  • Portability
  • Robust
  • Secure

Better performance: Because it creates a thread for each request not process (like CGI).

Portability: Because it uses java language and java is robust language.

Robust: Servlet are managed by JVM so no need to worry about memory leak, garbage collection etc.

Secure: Because it uses java language and java is a secure language.

Prev Tutorial Next Tutorial

Download Projects

Google Adsense Advertisements
Free Classified Site – Bedpage

Yahoo Advertisements