JavaServer Pages, 3rd Edition

by O'Reilly Media, Inc.

$44.95
87% off
buy from amazon.com
Average Rating: * * * half star -
Sales Rank:276420 (lower is better)
Price as of:11/28/2008 7:09:49 PM MST
Price Used:$3.15
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:O'Reilly Media, Inc.
Pages:664
Binding:Paperback
Publication Date:2003-12-01
Published By:O'Reilly Media, Inc.
ASIN:0596005636
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, providing Enterprise Java developers with a flexible tool for development of dynamic web sites and web applications. While point releases over the years, along with the introduction of the JSP Standard Tag Library (JSTL), have incrementally improved the rough areas of the first version of the JSP specification, JSP 2.0 takes this technology to new heights.

JavaServer Pages, Third Edition, is completely revised and updated to cover the JSP 2.0 and JSTL 1.1 specifications. It includes detailed coverage of the Expression Language (EL) incorporated into JSP 2.0, the JSTL 1.1 tag libraries and the new function library, the new tag file format that enables custom tag library development without Java code, the simplified Java tag library API, improvements in the JSP XML syntax, and more. Further, it details setup of the Apache Tomcat server, JSP and JSTL syntax and features, error handling and debugging, authentication and personalization, database access, XML processing, and internationalization.

This book recognizes the different needs of the two groups of professionals who want to learn JSP: page authors interested in using JSP elements in web pages and programmers concerned with learning the JSP API and using JSP effectively as a part of an enterprise application. If you're in the first group, you learn from the practical web application examples in the second part of the book. If you re in the latter group, you appreciate the detailed coverage of advanced topics in the third part, such as integrating servlets and JavaBeans components with JSP using the popular Apache Struts MVC framework, and how to develop custom tag libraries using the JSP API, with realistic examples you can use as a springboard for your own libraries.

Customer Reviews

JavaServer POages OReilly - book review - Reviewed on 2008-11-30
* *

Seller was great but this is 1 of the OReilly books that's to wordy and has mistakes in the examples. I would not recommend.
Beautifully written - Reviewed on 2006-04-14
* * * * *
2 customers found this review helpful.

This is an extremely well written and informative book. I have
lots of experience with servlets, so I don't know how the book
will appeal to page designers, but I had no problem reading and
enjoying the chapters oriented more toward them. I used to look
at JSP and see the same kind of maintenance nightmare that comes
with something like PHP when your project gets large. I have
been using WebMacro/Velocity but am now a convert to JSP since
it has matured. I love the author's philosophy of no scriptlets
in your JSPs. I own many programing books, but I believe this
is the best written I've seen.
Perfect book for a structured reader. - Reviewed on 2006-03-08
* * * * *
6 customers found this review helpful, 1 did not.

If you are looking for a quick cookbook this should not be your choice. If you want to learn JSP in depth, buy it right now. Hans guides you from the basics to comprehensive details of JSP technology in a very structured way.

In any case, (from my point of view) JSP is not the whole jigsaw for building web applications, it's just a piece of it. So don't expect to be able to build real web applications if you just have read this book. At least, consider reading also Java, Struts/MVC and SQL.
Good, but not great, user guide for JSP - Reviewed on 2005-12-26
* * *
9 customers found this review helpful, 2 did not.

Perhaps this is as good a user guide as is possible for JSP, which is a good, but not great techology.

JSP integrates between web markup user interfaces (usually HTML) and back-end java technology (usually servlets), and best practices have most of the interesting work done in these technologies, not in JSP. JSP's flaws come from too many spurious features that lead the unsuspecting user far away from best practices.

JSP's strengths as a template technology for web view markup come in its 2.0 version with its addition of programmatic logic to markup (JSTL for logical branches and loops, and tags for subroutines) which allow for development of markup without repeated code. This is a great benefit of JSP, and this book does a fairly good job of explaining it for JSTL/logic, but talks around it with confusing examples for tags/subroutines. To this book's credit, it is the only decent reference I have found for JSP 2.0 tag library development.

Best practices with JSP as an integration technology involve what is called "Model 2 MVC" where the JSP page is strictly used only as a template for markup (the "view" which is the "V" from "MVC"), a JavaBean is used for the M-"model" and a single servlet is used for the C-"controller". This concept is mentioned in this book, but its up to you to figure out how to implement it, and the book is full of examples that show off unrealistic uses of JSP's spurious features and are anything but best practices. At some point in using JSP's and servlets, you are going to have to go head-to-head (actually, head-to-confusing-XML) with a real deployment descriptor, and this book will give you little help as to why it doesn't work.

Until someone writes a truly useful reference for JSP and servlets, you will have to follow the time-honored tradition of finding an example that works and cut-and-pasting it into your web application. Poring over this book will help some, as will poring over Craig McClanahan's online doc that comes with Tomcat. The best book I've found so far for explaining best practice design with JSP is Rod Johnson's "expert one-on-one J2EE Design and Development" (read the chapters on web-tier MVC design and views in the web tier) though it's description of JSP is somewhat dated, and it won't help you out with implementation details.
Horribly disorganized - Reviewed on 2005-07-20
* *
9 customers found this review helpful, 1 did not.

O'Reilly falls down on its usual excellent editorial job and delivers an undisciplined unstructured mess that is useless as a reference. The JSTL examples are so incomplete as to be virtually worthless. As an experienced developer, I spent my 45 bucks expecting a useful reference and practical guide, instead getting a beginner's tour and some appendices of jstl syntax spec.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects