This is a clear, project-focused guide to web development with JavaServer Pages. It shows how to create web-based applications for online sales, company intranet, customer feedback and chat rooms.
While the book starts from the very beginning with JSPs, its focus on practical programming problems is what sets it apart. For instance, early sections on managing session information look at ways to authenticate users and prevent them from bypassing a login page. Other useful short examples include a simple employee database, a telephone directory, and a Web application for a helpdesk.
The heart of this title is its online computer hardware store, built with JavaBeans, that manage an underlying database through JDBC (and PostgreSQL on the back end). The sample store is enhanced in stages; subsequent versions get a shopping cart, online surveys, and even a frequent shopper program. Needless to say, the code is worth a perusal from anyone who wants to do e-commerce effectively using JSPs. Later sections contain more specialised examples, including a nifty electronic postcard site and how to implement a simple chat room.
The text closes with reference sections listing JSP and servlet APIs (as well as how to install and configure Apache Web Server, the JServ JSP engine, and the PostgreSQL database.) Of course, you can use the sample code with any JSP-enabled Web server, but you get what you need to know to get started with these freely downloadable software packages.
If you need to learn JSPs quickly for real-world projects, Instant JavaServer Pages delivers a concise tutorial and plenty of useful sample code to get you started. It does a good job of pointing you toward what's important--using easy-to-understand sample code that can jumpstart your JSP programming know-how in a hurry. --Richard Dragan, amazon.com