Neil Griffin
Senior Software Architect for Liferay, Inc
Neil recently finished working on the 2nd Edition of the JSF Complete Reference with Ed Burns in which he helped bring the book up-to-date for JSF 2.0 and contributed an Appendix on JSF Portlets and PortletFaces.
Presentations
Filthy Rich Portlets with ICEfaces and Liferay
When a portlet form is submitted, all the other portlets on the same portal page are forced to redraw themselves. Learn how ICEfaces Direct-to-DOM rendering provides a cure for this disruptive end-user experience, and how ICEfaces Ajax Push supplies a rich alternative for inter-portlet communication. Demonstrations will be performed within Liferay Portal, a JSR 286 (Portlet 2.0) compliant portlet container.
Portal Technology Overview - Explain the advantages of portal technology - Describe what portlets are and how Liferay is an open source portlet container - Explain the advantages of using a framework like JSF for portlet development - JSR 127 and JSR 168 designed to work together - List of new features in JSR 286 - Describe the new Ajax-related features of the JSR 286 spec and what it means for rich portlets
Demo#1: Typical JSF Portlet - Submitting a form causes an HTTP POST and a subsequent redirect that causes the browser to re-render the entire page - Other portlets on the page are forced to re-render themselves
ICEfaces Technology Overview - Describe how ICEfaces makes use of Ajax in order to extend the JSF standard - Explain the ICEfaces Direct-to-DOM (D2D) technology - Explain the idea of partial-submit and why it is an essential feature of JSF 2.0 - List some of the rich user interface components provided by ICEfaces
Demo#2: ICEfaces Portlet - Partial submit provides client-side field validation for free - Submitting a form causes incremental page updates, rather then re-rendering the entire page - Other portlets on the page are not disturbed
ICEfaces Extended Request Scope - Describe how the ICEfaces extended request scope is the perfect match for the lifespan of a portlet
Using ICEfaces Ajax-Push for Inter-Portlet Communication - Describe how ICEfaces server-initiated rendering can be used to perform inter-portlet communication between portlets on the same page and/or between portlets in different user sessions
Demo#3: Sample Portlets Built with ICEfaces - Ajax Push Inter-Portlet Communication - File upload with Ajax Push progress indicator
Summary
Q & A
Books
by Ed Burns and Chris Schalk
-
The Definitive Guide to JavaServer Faces 2.0
Fully revised and updated for all of the changes in JavaServer Faces (JSF) 2.0, this comprehensive volume covers every aspect of the official standard Web development architecture for JavaEE. Inside this authoritative resource, the co-spec lead for JSF at Sun Microsystems shows you how to create dynamic, cross-browser Web applications that deliver a world-class user experience while preserving a high level of code quality and maintainability.
JavaServer Faces 2.0: The Complete Reference features an integrated sample application to use as a model for your own JSF applications, with code available online. The book explains all JSF features, including the request processing lifecycle, managed beans, page navigation, component development, Ajax, validation, internationalization, and security. Expert Group Insights throughout the book offer insider information on the design of JSF.
- Set up a development environment and build a JSF application
- Understand the JSF request processing lifecycle
- Use the Facelets View Declaration Language, managed beans, and the JSF expression language (EL)
- Define page flow with the JSF Navigation Model, including the new "Implicit Navigation" feature
- Work with the user interface component model and the JSF event model, including support for bookmarkable pages and the POST, REDIRECT, GET pattern
- Use the new JSR-303 Bean Validation standard for model data validation
- Build Ajax-enabled custom UI components
Extend JSF with custom non-UI components - Manage security, accessibility, internationalization, and localization
- Learn how to work with JSF and Portlets from the JSF Team Leader at Liferay, the leading Java Portal vendor
Ed Burns is a senior staff engineer at Sun Microsystems and is the co-specification lead for JavaServer Faces. He is the co-author of JavaServer Faces: The Complete Reference and author of Secrets of the Rock Star Programmers.
Chris Schalk is a developer advocate and works to promote Google's APIs and technologies. He is currently engaging the international Web development community with the new Google App Engine and OpenSocial APIs.
Neil Griffin is committer and JSF Team Lead for Liferay Portal and the co-founder of The PortletFaces Project.
Ready-to-use code at www.mhprofessonal.com/computingdownload
