Master the art of implementing user interfaces with JSF 2.2 If you are a web developer who uses JSF, this is the book for you. Catering to an intermediate-advanced audience, the book assumes you have fundamental knowledge of JSF. It is intended for the developer who wants to improve their skills with the combined power of JSF 2.0, 2.1, and 2.2. JavaServer Faces (JSF) is a leading framework and core component of Java Platform Enterprise Edition. JSF is the standard Java EE technology used to build web user interfaces. JSF 2.2 is a recent release with an extensive list of new features, some of which have been expected for a long time and are now ready to be implemented. Starting out with a very basic topic, Expression Language, you will continue onwards covering a wide range of JSF sectors, such as JSF communication, JSF scopes, and so on. Throughout the book, you will master JSF artifacts (AJAX, HTML5, configurations, renders, handlers, listeners, events, factories, tabular data, custom components, Facelets, and so on) in a compendium of programming practices and informative examples. You then round off with a detailed discussion on the capabilities of Facelets. Overall, this book helps you gain knowledge on the latest JSF features in an interesting and original approach. Adding these skills to your personal arsenal will turn you into a veritable JSF master.
While not being a beginer's tutorial, this book provides practical receipts and best practices for using JSF technology, including the latest features, like HTML5 and file upload support, resource library contracts, etc.
Chapter 1, Dynamic Access to JSF Application Data through Expression Language (EL 3.0), contains detailed description of recent version of Expression Language (3.0), which is used in JSF 2.2, including advanced topics like creation of custom EL resolvers. Chapter 3, JSF Scopes – Lifespan and Use in Managed Beans Communication, describes all JSF scopes, including the flow scope, which allows us to demarcate a set of logically related pages or views with an entry point and an exit point. Chapter 6, Working with Tabular Data, is devoted to the creation of data tables, which are a common feature of enterprise applications. In chapter 9, JSF State Management, some security aspects of the usage of JSF technology are discussed. Chapter 10, JSF Custom Components, provides detailed instructions for creating custom JSF components, that gives us a powerful tool for extending JSF functionality and addressing sofisticated requirements and specifications.
The book language is precise, clear, and easy-to-understand. The book text contains useful tip and warning sections; new and important words are highlighted. Discussed topics are illustrated by numerous code examples and neat tables and diagrams. Each chapter has a reference to the corresponding source code folder containing ready-to-run Maven projects, relevant to the topics discussed in the chapter.
This book can be useful for any Java developer or software engineer, who works with JSF technology.
Nepřesvědčivé. Knížka je prakticky jen sbírkou vlastností a možností JSF 2.2. Pro začátečníky jsem postrádal vysvětlující omáčku, pro pokročilé mě iritovaly umělé příklady a nedostatečná hloubka. Například pasti a pastičky či životní cyklus JSF komponent je až na konci jako "bonus". Od pokročilé řady navíc očekávám zkušenosti autora, které pomůžou určit kdy co použít a kdy nikoliv. Jsem asi moc vybíravý. Chápu sice, že ke každé mainstreamové technologii musí existovat "for dummies" a "mastering" knížka, ale podle toho také vypadá kvalita. Nejsem fanoušek ani JSF či Rafaela Nadala (jo, pardón, to byl nechtěný spoiler :-), ale potřeboval jsem si prohloubit znalosti a i když jsem se něco nového dozvěděl, vůbec mě to nebavilo a stackoverflow vyhrálo vždy na plné čáře.
A well-structured book on JSF covering almost all of the areas of the update. What I really liked is that it presents each area by using hands-on examples and code snippets. Very good coverage in Tabular Data and AJAX. I strongly recommend it as a reference manual and it should not be read as a tutorial style book. Each chapter can be read individually based on needs. Easy to read and to skim through for technical mind-sets.
A very good book for all the web developer who already uses JSF and want to improve their skills. The target of the book is intermediate/Advanced... so it could be a little difficult to read if you don't have a background in JSF. All the topics about JSF 2.2 are discussed in a direct and comprehensive manner.
This book has covered most of the important topics with concise explanation. It has covered the new features added in JSF 2.2. Who ever wants to build an application using JSF 2.2 it would be helpful to go through it.
Recently, I got the book "Mastering JavaServer Faces 2.2" under my hands. The book was published by the PACKT Publishing (http://goo.gl/HA3FBk). Coincidently, I also had some JSF-based project to be reviewed. With book in one hand and code in other I started my review. During my review I also checked how author Anghel Leonard is handling the matter in the book. The book starts with EL (Expression Language). The author covers both, the Expression Language 2.2 and 3.0 which nicely upgrades the usability of EL. In the next chapter we get much information on communication capabilities in JSF. The chapter is dealing with getting and setting parameters as well as transferring data between different components of JST application. The logical continuation of book is description of the scopes, be it request scope, session scope, view scope, etc. The most interesting is the comparison of JSF scopes versus CDI scopes. Next chapter deals with JSF configurations, either XML files or annotations. The navigation rules are described very-well. With configuration also deals the next chapter. We get more deep insight into context configurations, like visitContext, externalContext. Everything you will ever need to do with visualising tabular data is described in the chapter "Working with Tabular Data". It includes how-to’s in the area of filling data into table, adding/deleting/selecting and displaying table rows just to name some of the concepts. If you intend to use AJAX in your application then the next chapter is for you. It deals with using AJAX in JSF applications. We can get information on integration of JSF and AJAX from the later point-of-view. Chapter 8 is touching the support of HTML5 and Upload component. Both are especially useful, when you need functionality of uploading document into the server, for example. Managing state of views in JSF presents important part of application design. This is why chapter 9 is ideal for those developers looking in-depth information on the topic. The chapter concludes with brief overview of JSF security issues. Next chapter deals with JSF custom components. They provide JSF framework with additional flexibility and extensibility. Last two chapters are describing the use of Facelet templates for visualization of context. Also, the creation of themes is described. The book finishes with little appendix, describing JSF life cycle. Overall, the book is well written, with lots of examples and description of topics, recommended for developers who already have intermediate level of JSF knowledge and want to master JSF.
Author Anghel Leonard really delivers it with this book. I'm new to JavaServer Faces and I found this book to be the comprehensive guide from front to back, covering everything required to get setup and running rather quickly. From states to custom events I found myself unable to put this book down, in fact I'd recommend picking up the "companion" to this book which I plan on ordering as well: JSF 2.0 Cookbook, Packt Publishing. Once you get this book down having a cookbook is really the next step to really drive home the learning experience.
My favorite part about this book was how it tied in AJAX and how it used events, something I love to do when thinking about how to handle data in an application is how will I work with it, keep track of it, and using events is how I typically deal with it. I was quite pleased with the coverage of AJAX in this book. Something very unique which I also enjoyed was the use of a queue to kinda throttle the requests hitting the server, often times I feel like too many requests are going to fire off at once. My test server is rather old now and get's a bit cranky when I throw lots of data at it. I've also been including factories in PHP setups for quick deployment so I was pleased to see JSF offers a similar type setup allowing me to utilize the portions I need and not worry about other underlying components.
I would have liked to seen more visual elements used in the book, while there are a few diagrams I like to see UML flow charts in use, and some visual elements to help reinforce the overall learning experience. I suppose the HeadFirst series spoiled my brain but I do like how they break up large chunks of text with visual elements. Near the end of the book I enjoyed building the Nadal site, however I would have liked to seen a more robust project using some of the techniques discussed in the earlier chapters. Despite my preferences I feel the book still deserves a 5/5 because it delivers on what it set out to achieve, and that's teach me the basics and medium to advanced JSF utilization's.
As of this writing there are some coupons that make this book cheaper at the publishers website below.