, servlets are persistent between invocations, which dramatically improves performance relative to CGI-style programs. Servlets are also 100% portable across operating systems and servers, unlike any of the alternatives. Finally, servlets have access to all the APIs of the Java platform, so, for example, it is easy to create a servlet that interacts with a database, using the JDBC API
Servlets are better than other server-side services because they are 100% portable using JVMs and you can use the JAVA APIs. Performance is relatively better.
Share this highlighthttp://www.safaribooksonline.com/a/java-enterprise-in/45633/