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 ...
Get Java™ Application Development on Linux® 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.