13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 18Servlets:Java Pressed into ServiceJava was first seen by many programmers as a way to enhance Web pages byadding some actual code to them, to be run in the browser. But the real powerof Java was unleashed at the other end of the client-server c<strong>on</strong>necti<strong>on</strong>, whenJava was pressed into service <strong>on</strong> the Web server—to help serve up pages,sometimes of its own making, to Web clients all across an enterprise.18.1WHAT YOU WILL LEARN• What servlets are.• How to write a simple servlet.• More complex servlet matters (servlet state).• An example—our BudgetPro applicati<strong>on</strong> as a servlet.403

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!