Coming Up for Air

Book Review: JSF 1.2 Components

Wednesday, June 09, 2010 |

Some time ago, I was given a copy of JSF 1.2 Components by Ian Hlavats and asked if I’d write a review for it. It’s long overdue, but here are my thoughts on this book.

<img src="http://ecx.images-amazon.com/images/I/51WxF2r1EEL.SL500_AA300.jpg" align="right"/>First off, in case you’re guessing, like I did, based on the title, that this is a book about writing JSF 1.2 components, it’s not. It’s book about some existing JSF 1.2 component libraries. So if you need the former, I would suggest http://www.amazon.com/JavaServer-Faces-2-0-Complete-Reference/dp/0071625097/ref=sr_1_2?ie=UTF8&s=books&qid=1276116885&sr=8-21 or http://www.amazon.com/Core-JavaServer-Faces-David-Geary/dp/0137012896/ref=sr_1_1?ie=UTF8&s=books&qid=1276116930&sr=8-11. That said, what this book does offer is a nice overview/introduction to a number of different components including the standard JSF components and those from a number (five, to be exact) third party component sets.

One of the things I liked about the book is that it starts off with a nice, light overview of JSF. Introductions to JSF usually seem to get mired in detailed discussions of the JSF lifecycle. While that’s important to know, it can also be very overwhelming for new users. I think this introduction did a credible job while avoiding that pitfall. The first two chapters, in addition to this introduction, covered the standard component set as well as the de facto standard Facelets.

The next few chapters cover some of the more prominent components of Tomahawk, Trinidad, ICEfaces, Seam, and RichFaces. Overall, I found the introduction to be fairly well done, though I had some minor quibbles. The biggest was the apparent mismatch between the code in the book and the images to support it. In several places, it seemed the screen shot simply didn’t match the code sample, which is a bit confusing until I finally decided it was just the wrong graphic. The Seam chapter seemed (no pun intended ; ) a bit strange, as the Ajax4Jsf discussion probably should have been in the RichFaces chapter, and the conversation scope isn’t technically a component, but it would be pedantic of me to point that out. :)

The book closes with a brief introduction to the new features in JSF 2. I thought this was pretty well done and should whet the appetites of those who have not yet made the switch to the new spec.

Overall, I’d have to give the book, say, 3.5 out of 5 stars. Though not perfect, it’s a nice overview of the major JSF component sets. While you can find all that information somewhere on the web (which is true of just about everything in a tech book these days), JSF 1.2 Components provides this information in one place in a fairly easy to read setting. Those with a lot of experience with third party component sets may not get much out of the book, but beginning to intermediate JSF users should find a good deal of value in it.

1 I realize that, in the context of a discussion of a book about JSF 1.2, that I linked to two texts discussing JSF 2.0. This is intentional. Core JSF 2ed does not seem to be available any longer (at least at the time of writing this, it was unavailable on Amazon), and it makes little sense to buy older versions of the book. Both books cover the 1.2 and 2.0 versions of the spec, and The Complete Reference is especially good about noting the differences in the two specs. I have both books, and have read both of them (Note: I work with Ed Burns and was a reviewer for David Geary), and can comfortably recommend both books. If you need a fuller treatment of JSF, as of now, these are the go-to books. You should buy at least one copy of each. :)

Search

    Quotes

    Sample quote

    Quote source

    About

    My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

    I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

    On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

    My Links

    Publications