The Definitive Guide to Apache MyFaces and Ajax

  Author:    Zubin Wadia, Martin Marinschek, Thomas Spiegl, Hazem Saleh, Dennis Byrne, Mario Ivankovits, Cagatay Civici, Simon Kitching, Arash Rajaeeyan, Arvid Hülsebus, Detlef Bartetzko, Bruno Aranda
  ISBN:    1590597370
  Sales Rank:    420615
  Published:    2006-11-13
  Publisher:    Apress
  # Pages:    350
  Binding:    Paperback
  Avg. Rating:    5.0 based on 1 reviews
  Used Offers:    8 from $24.95
  Amazon Price:    $32.84
  (Data above last updated:  2009-01-02 07:40:12 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
The Definitive Guide to Apache MyFaces and Ajax
  

The Definitive Guide to Apache MyFaces and Facelets is an ideal reference if youre looking to develop real–world applications with the open source lightweight Apache MyFaces and Dojo (the Ajax API). The book focuses less on theory and more on aspects like scalability, design, optimization, and configurability.

This book emphasizes meeting real–world requirements for performance and scalability. It includes lucid code samples that reflect the pattern being described. The “In the Trenches” sections in each chapter give you advice and recommendations based on actual experiences with each pattern. What’s more, the “Extreme Extensions” section at the end of each relevant chapter is dedicated to a “freestyle” expression of taking a particular pattern or set of patterns to the max. (This is a great way for you to learn because of the magnification effect.) This is also the first book to embrace the Dojo framework for Ajax (soon to be an Apache project).

                  Reader Reviews 1 - 1 of 1                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
09-29-08 5 1\1
(Hide Review...)  A winning combination of technologies
Reviewer Permalink
While most existing JSF books focus on teaching readers how to use the Faces framework, this book instead looks specifically at Facelets and the component libraries within the Apache MyFaces project, viz. Tomahawk, Trinidad, Orchestra, and Tobago.

After spending a weekend with this book, here are my impressions:

* The book is fairly short, and so seems very diminutive when stacked up against other books on JSF. You can imagine reading this from cover to cover over a long weekend.

* With four main authors, and six contributing authors, this book reads like a series of articles on JSF. Fortunately, the articles are well written for the most part, and you can read the chapters out of order without loss of continuity.


MyFaces Core:
=============
The chapter on MyFaces Core (the actual JSF implementation) is only about 20 pages long. So while it works as a decent refresher, it is absolutely not a first introduction to JSF. I suspect newcomers to JSF will find this book rather daunting unless they've already read some of the other excellent books on Faces (see my review for Kito Mann's JSF in Action.)

Tomahawk:
=========
This chapter is very well written and focuses on some important components (like tree2, schedule, inputCalendar, etc.) The explanations are clear enough to make you feel you should be able to get these working after a reading. However, I was disappointed to find marginal treatment of the t:saveState component - especially as there are multiple references to it in other chapters (as in the discussion of Orchestra, and in JSF pitfalls).
. . . . . .
As an aside, this book's index is the gold standard for tech books - about 30 pages for a 285 page book. When I went looking for saveState, for example, I was able to quickly zero in on all its references.
. . . . . .

Facelets:
=========
I got a strange sense of deja vu when I read the chapter on Facelets - turns out it is lifted almost verbatim from APress's Facelets Essentials - along with the surreal Bird Store example. If you have read that book, you won't find many surprises here. This chapter and its Facelets appendix take up 58 pages which turns out to be over two thirds of the content of that other book. Fortunately its the best two thirds - so you really get two books in one here.
. . . . . .
What really bothered me is that most of the examples in this book use JSP as the presentation technology. If Facelets is really worthy of having a mention on the title, I'd have expected to see more real world usage throughout the book.

So why not drink the KoolAid?
. . . . . .
Misc projects:
==============
A common problem I had with the other chapters was that the examples were too short to be of much use.

For instance, the example for pageFlowScope is too trivial to convincingly demonstrate why it is useful. It provides nothing more than a description of the mechanical aspects of using this scope. I'd have loved to see a working example that exemplified how it avoided the weaknesses of the request and session scopes.

[To fully grasp the actual meat of this particular topic, I highly recommend reading about Tomahawk's saveState, Trinidad's pageFlowScope, and Orchestra's conversation scope - all in one sitting. These are all different solutions to the same core issue - so they're best read together. The discussion in Orchestra's chapter is by far the best - esp. see Page 175 - Managing Independent Windows, and page 194 - Orchestra's Architecture.]


Antipatterns:
=============
The chapter on JSF Antipatterns is a very interesting read. A few of these antipatterns seem like spectacularly bad ideas to begin with and you wonder how they passed design reviews in the first place. However, there are a lot of practical usage tips here (such as thread safety issues with custom validators and converters) that made it worth my time.


Appendices:
===========
The information on dependency injection with Spring is confined to about a paragraph - so a better choice is Spring Recipes by Gary Mak. The appendix on view state encryption is also a useful addition.

Conclusion:
===========
This book was long overdue - and is well worth your time if you are into using the MyFaces sub-projects. Throw in Facelets and you have a winning combination.


Damodar Chetty
swengsol.com
(Review Data Last Updated: 2009-01-02 07:41:49 EST)
  
                  Reader Reviews 1 - 1 of 1                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)