Copyright © 2001 Qusay H. Mahmoud
33
Servlets
lServer-side technology
lDesigned to overcome some limitations of existing technologies (e.g. CGI is stateless)
lCharacteristics:
–A light-weight task that can be executed as a thread
– A servlet can remain in memory (a CGI script terminates when it finished)
lAdvantages:
–A servlet can service multiple client requests
–Can handle multiple clients without reloading/reinitialization