To get the free app, enter your email address or mobile phone number.
JSF 2.0 Cookbook
Use the Amazon App to scan ISBNs and compare prices.
Customers Who Viewed This Item Also Viewed
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 84%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Top Customer Reviews
That being said, nearly every JSF developer uses a subset of the features available in the framework. For that reason, a cookbook can help fill in the gaps of feature that are rarely (or never) used. From this book, I learned a number of things about unit testing and management of JSF applications in chapter 9 that I didn't know, as well as file upload and management in chapter 3. The chapter on Facelets should be valuable to anyone that hasn't used it in JSF 1.2.
Strengths: "how to" recipes, RichFaces, unit testing and management
Weaknesses: selecting alternative strategies, "best practice", limited to specific JSF addons
The chapters get right to the point with very common problems/requirements in web development and their solutions.
Of course you still need to read more documentation about JSF 2 (such as the complete reference) to be able to completely understand and know the different options.
The main IDE and the server used in the book are NetBeans 6.8 and GlassFish 3, respectively. The IDE Eclipse Ganymede is used in one recipe (Using JSF ID generator).
The first two chapters give a good idea of the custom and standard validators and converters. Apache MyFaces Trinidad and RichFaces are used. Validation is also demonstrated through the built-in integration of JSR-303 (Bean validation) in JSF 2.
Chapter 3 is about file management (uploading, downloading, extraction, export) with the help of Mojarra Scales libraries, RichFaces and PrimeFaces components.
Chapter 4 is another interesting chapter that explores various ways to protect a site. It demonstrates the use of EL expressions part of the JSF Security project which uses a separate scope called securityscope. Roles are based on JAAS, stored in a database or added to the HttpSession. The last recipe makes use of Spring Security to manage a login page.
Chapter 5 provides recipes to demonstrate the creation of various custom components (hello world, image slide viewer with Ajax functionality using the Dynamic Faces project etc) and also composite custom components.
Chapter 6 is about Ajax.Read more ›
I would also like to recommend this book to anybody who is interested in what can be achieved server side, very quickly and with little prior knowledge. JSF 2.0 cookbook explains well how JSF can be used in conjunction other technologies.
In summary if your into JSF or want to get into JSF this is well worth it. If your curious, don't know what JSF is but like doing cool stuff on websites while adding options to your technology repertoire then this could be for you as well.