core JavaServer Faces

  
core JavaServer™ Faces
By DAVID GEARY, CAY HORSTMANN
 
Publisher: Addison Wesley
Pub Date: June 15, 2004
ISBN: 0-13-146305-5
Pages: 552
 


JavaServer Faces promises to bring rapid user-interface development to server-side Java. It allows developers to painlessly write server-side applications without worrying about the complexities of dealing with browsers and Web servers. It also automates low-level, boring details like control flow and moving code between web forms and business logic.

JavaServer Faces was designed to support drag and drop development of server-side applications, but you can also think of it as a conceptual layer on top of servlets and JavaServer Pages (JSP). Experienced JSP developers will find that JavaServer Faces provides much of the plumbing that they currently have to implement by hand. If you already use a server-side framework such as Struts, you will find that JavaServers Faces uses a similar architecture, but is more flexible and extensible. JavaServer Faces also comes with server-side components and an event model, which are fundamentally similar to the same concepts in Swing.

JavaServer Faces is quickly becoming the standard Web-application framework. Core JavaServer Faces is the one book you need to master this powerful and time-saving technology.

Without assuming knowledge of JSP and servlets, Core JavaServer Faces:

  • shows how to build more robust applications and avoid tedious handcoding

  • answers questions most developers don't even know to ask

  • demonstrates how to use JSF with Tiles to build consistent user interfaces automatically

  • provides hints, tips, and explicit "how-to" information that allows you to quickly become more productive

  • explains how to integrate JSF with databases, use directory services, wireless apps, and Web services

  • teaches best practices and good habits like using style sheets and message bundles

  • covers all of the JSF tags and how to create new tag libraries

   
  
• Table of Contents
• Index
core JavaServer™ Faces
By DAVID GEARY, CAY HORSTMANN
 
Publisher: Addison Wesley
Pub Date: June 15, 2004
ISBN: 0-13-146305-5
Pages: 552
 


   Copyright
   About Prentice Hall Professional Technical Reference
   Preface
     About This Book
     Required Software
     Web Support
   Acknowledgments
      Chapter 1.  Getting Started
     Why JavaServer Faces
     Software Installation
     A Simple Example
     Sample Application Analysis
     Visual Development Environments
     JSF Framework Services
     Behind the Scenes
     Automation of the Build Process with Ant
      Chapter 2.  Managed Beans
     Definition of a Bean
     Message Bundles
     A Sample Application
     Backing Beans
     Bean Scopes
     Configuring Beans
     The Syntax of Value Binding Expressions
      Chapter 3.  Navigation
     Static Navigation
     Dynamic Navigation
     Advanced Navigation Issues
      Chapter 4.  Standard JSF Tags
     An Overview of the JSF Core Tags
     An Overview of the JSF HTML Tags
     Forms
     Text Fields and Text Areas
     Buttons and Links
     Selection Tags
     Messages
     Panels
      Chapter 5.  Data Tables
     The Data Table Tag
     A Simple Table
     h:dataTable Attributes
     Headers and Footers
     JSF Components in Table Cells
     Editing Table Cells
     Styles for Rows and Columns
     Database Tables
     Table Models
     Scrolling Techniques
      Chapter 6.  Conversion and Validation
     Overview of the Conversion and Validation Process
     Using Standard Converters
     Using Standard Validators
     Programming with Custom Converters and Validators
     Implementing Custom Tags
      Chapter 7.  Event Handling
     Life-Cycle Events
     Value Change Events
     Action Events
     Event Listener Tags
     Immediate Components
     Phase Events
     Putting It All Together
      Chapter 8.  Subviews and Tiles
     Common Layouts
     A Book Viewer and a Library
     The Book Viewer
     Content Inclusion in the Book Viewer
     The Library
      Chapter 9.  Custom Components
     Implementing Custom Components with Classes
     Encoding: Generating Markup
     Decoding: Processing Request Values
     Implementing Custom Component Tags
     Revisiting the Spinner
     Encoding JavaScript to Avoid Server Roundtrips
     Using Child Components and Facets
      Chapter 10.  External Services
     Accessing a Database
     Using LDAP for Authentication
     Managing Configuration Information
     Using Web Services
      Chapter 11.  Wireless Clients
     Rendering Technologies for Mobile Clients
     MIDP Basics
     Mobile Communication and Control Flow
     Component Implementation for Mobile Clients
     The Battleship Game
      Chapter 12.  How Do I…
     Web User Interface Design
     Validation
     Programming
     Debugging and Logging
   Index