Why Servlets?

With an understanding of the role of Java servlets, the next decision is whether they are the right option for the Web-based application. We will review several benefits of using Java servlets to handle requests from Web clients.

As with most Java applications and classes, Java servlets are portable between various platforms. As long as a server, supporting the Java Servlet API, exists on the desired platform, the servlets written and designed in one environment should execute the same on a second environment. This assumes that the supporting Java class libraries used by the servlets are available on both platforms. As long as this remains the case, the servlets should be portable without any difficulties.

Because Java servlets ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.