3rd Edition available

The third edition of my JSP book is now available in stores and online, e.g., at Amazon.com and other shopping sites.

It covers the new JSP 2.0, JSTL 1.1 and Servlet 2.4 specifications (i.e., J2EE 1.4) with exiting new features such as tag files (JSP-like files for developing custom tags), use of the Expression Language in template text and any element attribute value, more powerful XML format support, and a simplified API for Java tag handlers.

What’s new in the 3rd edition?

I already have an earlier edition of your book. What am I missing if I don’t buy the new, third edition?
Answer:
If you have the 1st edition of the book, the 3rd edition is almost like a brand new book on the subject. So much has changed between JSP 1.1 (covered by the 1st edition) and JSP 2.0 with JSTL 1.1 (covered by the 3rd edition), making it a lot easier to develop maintainable web applications in less time.Even compared to the 2nd edition, the 3rd edition is significantly different. Here’s how the changes are described in the Preface:

If you’ve read the second edition of JavaServer Pages, you’ll notice that, in this edition, even more of the custom components used in previous edition have been replaced in favor of the equivalent standard components from JSTL—–a specification I’ve been lucky enough to contribute to and help shape the standard based on many of the ideas explored in the first and second editions. You’ll also notice that all the chapters have been modified (some more than others) to cover the new features in the latest versions of the JSP and JSTL specifications. A brand new chapter has been added to describe how to develop custom tag libraries using the new tag file format, and the chapters about custom library development using Java has been substantially expanded to cover the new, simplified tag handler API as well as the new mechanism for including Expression Language functions in a tag library. All chapters have also been updated to cover the features and clarifications added in the Servlet 2.4 specification on which JSP 2.0 is based on. Here’s a brief summary of the primary changes in all the specifications covered in this book:

  • Incorporation of the Expresssion Language (EL) (first introduced by the JSTL specification) in the JSP specification (making it available to all standard and custom components as well as in template text)
  • The EL extended with a function call mechanism and a set of common functions added to JSTL.
  • Addition of the ability to develop custom tag libraries as tag files (text files with JSP elements) as well as a new, simplified tag handler Java API, and various new tag library features such as support for a dynamic attribute list and executable fragment attributes.
  • More flexible rules for JSP pages written as XML documents, and support for the the JSP directives and scripting elements XML syntax in regular JSP pages..
  • New JSP standard elements, primarily to allow for more flexible attribute value assignments and to support the new tag file format and XML format enhancements.
  • Access to more information in a JSP error page and adjustement of the attribute names to match the Servlet specification.
  • Stricter container requirements to improve syntax error reporting and debugging support for JSP pages.
  • XML Schema-based deployment descriptors for all specifications, with new configuration options, including automatic include of page segments, page encoding specification, scripting element disabling, and more for JSP.
  • Addition of a new request listener component type and filters that can be applied to internal requests
  • Deprecation of the single thread model for both servlets and JSP.
  • New JSTL tag library URIs and a few attribute name changes for the XML library.

The JCP turns 5

The Java Community Process (JCP), through which all Java specifications are developed, celebrates its five year anniversary in December. As an active JCP participant, I’m interviewed in an article that discusses what the JCP has gone through since its inception and what’s in store for the future.

JSP 2.0 article on ONJava.com

If you’re curious about what’s coming in JSP 2.0, you may find my new JSP 2.0 article series at ONJava.com interesting. Part 1 takes a look at the JSP 2.0 EL and the JSTL 1.1 EL functions. Future parts will explore other new features.

New book about JavaServer Faces

JavaServer Faces (JSF) is the latest addition to the Java web tier technology toolbox, allowing you to use a design model similar to the one used for traditional GUI programming for web application development.

I joined the JSF specification group about a year ago to help getting this specification done, and now we’re finally seeing the end of the tunnel.

In parallel with the specification work, I’ve been writing a book about JSF. It’s scheduled for release early 2004, but you can pre-order it now at Amazon.com and other online book stores.

3rd Edition announced

The third edition of my JSP book is making its way through production and should be in the book stores sometime in December.

It covers the new JSP 2.0, JSTL 1.1 and Servlet 2.4 specifications (i.e., J2EE 1.4) with exiting new features such as tag files (JSP-like files for developing custom tags), use of the Expression Language in template text and any element attribute value, more powerful XML format support, and a simplified API for Java tag handlers.

You can pre-order the book now at Amazon.com and other online book stores.

Vesica Pisces Halfway to Naked released

Okay, this has nothing to do with the book or the site, but my friends Vesica Pisces’s new CD Halfway to Naked hit the stores today. It’s a great album, produced by Jack Douglas of Aerosmith (and many more) fame. If you like good ol’ down-to-earth rock, check it out at their web site.