O'Reilly logo

Java™ Application Development on Linux® by Michael Schwarz, Carl Albing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. Servlets: Java Pressed into Service

Java was first seen by many programmers as a way to enhance Web pages by adding some actual code to them, to be run in the browser. But the real power of Java was unleashed at the other end of the client-server connection, when Java was pressed into service on the Web server—to help serve up pages, sometimes of its own making, to Web clients all across an enterprise.

What You Will Learn

  • What servlets are.

  • How to write a simple servlet.

  • More complex servlet matters (servlet state).

  • An example—our BudgetPro application as a servlet.

Servlets: Program-Centric Server-Side Documents

Servlets are Java programs that are run by a Web server. At its simplest, a servlet is a Java class that is invoked by a Web server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required