Pro JSF and Ajax: Building Rich Internet Components (Pro)
 

Related Products



















Product Lists

Pro JSF and Ajax: Building Rich Internet Components (Pro)

by Apress

$49.99
buy from amazon.com
Average Rating: * * * half star -
Sales Rank:273719 (lower is better)
Price Used:$4.99
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:Apress
Pages:464
Binding:Paperback
Publication Date:2006-02-13
Published By:Apress
ASIN:1590595807
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

The examples are thorough and come with loads of readable code listings. In addition, many complex topics were further clarified with a good use of graphics.

— Lasse Koskela, JavaRanch Sheriff

Book Description

Pro JSF and Ajax shows you how to leverage the full potential of JavaServer Faces (JSF) and Ajax. This is not an entry-level tutorial, but a book about building Ajax-enabled JSF components for sophisticated, enterprise-level Rich Internet Applications. Written by JSF experts and verified by established community figuresincluding Adam Winer (member of the JSF Expert Group, Java Champion), Kito D. Mann (JSFCentral.com and JSF in Action), and Matthias Weßendorf (MyFaces)this JSF 1.2-compatible book provides reliable and groundbreaking JSF components to help you exploit the power of JSF in your Java web applications.

This book provides a blueprint for building custom JSF UI components and shows how to leverage the best browser technologies, such as AJAX, Mozilla XUL and Microsoft HTC, to deliver Rich Internet Applications.

This book covers standard best practices for behavioral and renderer-specific component classes, renderers, events and event listeners, and JSP tag handlers for each. It also covers advanced techniques such as dynamic content type negotiation, JAR-based resource delivery, and dynamic render kit selection.

Foreword

"Does the world really and truly need another JavaServer Faces book?

I was fairly well convinced the answer could only be a resounding 'no'! After all, there's a good half dozen books out in stores today, by a whole host of web luminaries, and I've even personally helped as a technical reviewer on half of those. So what more could really be said on the subject?

But when I thought about this a bit more, it became clear that all of these books only go so far. They'll show you how to use what JSF gives you out of the box, throw you a bone for writing your own components and renderers, maybe even a bit more. But none that I've seen get to the heart of why JSF is really and truly cool and important technology; they make JSF look like YAMVCF (Yet Another Model-View-Controller Framework) for HTML - more powerful here and there, easier to use in many places, a bit harder to use in others, but really nothing major. And certainly nothing that takes us beyond the dull basics of building ordinary-looking web applications.

This book goes a lot further. It'll cover the basics, of course, and show you how to build components, but then it keeps going: on to AJAX, on to HTC, on to XUL - and how you can wrap this alphabet soup up underneath the heart of JSF, its component model, and how you can leverage it to finally develop web applications that don't need radical re-architecting every time the winds of client technologies blow in a different direction. Along the way, you'll learn a wide array of open source toolkits that make web magic practical even when you're not a Javascript guru.

So, heck, I'm convinced. The world does need another JSF book."

Adam Winer,

Architect ADF Faces, JSF Expert Group Member, and Java Champion. (From the Foreword)

Customer Reviews

Not a how to book - Reviewed on 2007-12-28
* *
1 customer found this review helpful, 1 did not.

I bought this book looking for examples on how to create custom JSF components and AJAX or extend existing components. The book is very light on this. It starts with a general overview of the JSF life cycle. Chapter 2 shows you how to create a date component and chapter 3 a deck component. Unfortunately the information is scattered and does not flow very well. Part 2 of the book has very little to do with JSF. Explains what Rich internet technologies then it give other examples of Rich Technologies which don't help you in developing JSF components It even goes into Microsoft technologies
This book would be better with more JSF/AJAX examples and less fluff. They try to bring you from entry level knowledge to expert knowledge. If I wish to create JSF components I have been using JSF and the components available to me are limit so when I buy a book like this I do not want to start at the beginning and I am not interested in other technologies that are similar to JSF like XUL, Weblets and Microsoft HTC I have choose my technology when I come to a book like this. If you want a general high level overview this book covering technologies besides JSF this book is ok. If you want and indebt book about creating JSF components with AJAX this is not it.
Too many typos and quite confusing - Reviewed on 2007-07-01
*
4 customers found this review not to be helpful.
Even for an advanced developer/architect this book does not make sense. There are too many typos, wrong references to Figures and Tables, and confusing diagrams. On the top of all these things, it is poorly written. For example (Verbatim from chapter 2):

Figure -1 shows the five classes you'11 create in this chapter, they are HtmlInputDateRenderer,ProInputData,UIComponentTagSupport,and ProInputDateTag, as well as two you'11 be extending Renderer and UIInput.

As you can tell from the above the author is quite confusing.
Needlessly difficult, -- NOT CLEAR AT ALL - Reviewed on 2006-12-01
*
2 customers found this review helpful, 8 did not.

I tried reading the first chapter, got through half and realized that the overview was simply hitting the architecture big picture with no code (this is after reading the complete reference cover to cover) -- skipped to the second chapter cause I had no clue where the author was at on chapter 1. Chapter 2, trying to describe component extensions -- the code examples had a bunch of css. CSS? And no mention that css was a part or not a part of jsf. To someone without a design background this would be very confusing. Huh? Why? To take up space that's why.

This is a worthless book that obfuscates. My opinion, they put this thing together to capitalize on the hype surrounding jsf and ajax with no clue as to how to actually teach how to integrate the two. Finally the most annoying thing is about half of the copy starts out "in this chapter you will ... " then some worthless unrelated code and then another section with "in this chapter you will ..." Waste of my precious time and mental space to read this book. They should take a hint from NIKE and just do it rather than talk about it. CODE... examples and more code -- I don't want to read or waste time reading "in this chapter you will"...
Moving beyond "Hello World" to cool applications... - Reviewed on 2006-06-29
* * * *
9 customers found this review helpful, 1 did not.

If you already have a background in JavaServer Faces (JSF) and you want to start exploring the integration of that with some of the Web 2.0 technologies, Jonas Jacobi and John R. Fallows have a book that might interest you... Pro JSF and Ajax - Building Rich Internet Components.

Contents:
Part 1 - Developing Smarter with JavaServer Faces: The Foundation of JSF - Components; Defining the Date Field Component; Defining the Deck Component
Part 2 - Designing Rich Internet Components: Using Rich Internet Technologies; Loading Resources with Weblets; Ajax Enabling the Deck Component; Ajax Enabling the Date Field Component; Providing Mozilla XUL Renderers; Providing Microsoft HTC Renderers; Switching RenderKits Dynamically
Index

To be honest, this book was beyond my current technology level. While there is a brief overview of JSF technology, you'll get the most out of the book if you already have a relatively solid grounding in it. They use two components, the Date Field and the Deck components, to show how JSF can be used to build internet application components that are able to be reused in other applications. The real value comes in Part 2, where they take those two components and start mixing them up with technologies that allow for rich internet functionality, such as Ajax and XUL. Using the examples provided, you start to see how a JSF application mixed with something like Ajax allows you to start building internet applications that behave more like desktop client apps... no round-trips to the server... no constant screen refreshes to get new content... Pretty cool stuff. I'd also recommend that you be pretty conversant with the rich internet technology already. Like with JSF, there's an assumption that you already understand the basics, so don't think that your first exposure to Ajax could be with this book. You'll be in pain if you try that route...

If you've had the exposure and you're now looking for some really cool project on which to apply your JSF skills, this could easily be the book that helps you make that transition from "Hello World" to "ooooohhh..."
Advanced Guide - Reviewed on 2006-06-17
* * * * *
7 customers found this review helpful, 1 did not.

The authors begin "This book is not, and we would like to emphasize this, not an introductory level book..." That's for certain. Except for quick review material in the first chapter, the authors move quickly into a project that assumes a good amount of experience.

The book effectively follows a pattern that you have seen before. Build a simple component, integrate it, then progressively build in functionality and complexity while dealing with usability and maintainability issues.

One factor that makes this book stand out is the great number of flow diagrams. This book has the expected code printouts and screenshots but the extra emphasis on logic diagrams is exceptional. Also not seen in other JSF books are two chapters on providing Mozilla XUL and Microsoft .htc renderers. Yes, the last is a bit of a surprise!
Read More Customer Reviews »
Go To Amazon Product Page

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


Book Subjects