Advanced Java Training
Ajax Training: Ajax for Java Developers
Crafting Legacy Code (Available in .NET, Java, Javascript, or PHP)
Developing Applications with Adobe Flex
EJB Training: Introduction to Enterprise Java Beans
Groovy for Java Developers
Hibernate Training
Intermediate Java Training
Introduction to Dojo JavaScript Framework for AJAX
Introduction to Java Programming Training
Introduction to XML Training
Jakarta Struts Training
Java Development for Secure Systems
Java EE 5 (JEE - including EJB3)
Java Programming with Eclipse
JavaServer Faces (JSF) : Using JSF to Build J2EE Web Apps on the JBoss Application Server
JavaServer Faces Training: Introduction to JSF Training
JavaServer Pages Training: Introduction to JSP and Servlets Training
JBoss Training: Administering the JBoss 4.x Application Server
JBoss Training: Administering the JBoss 5.X Application Server
JBoss Training: Enterprise JavaBeans (EJB 3) on the JBoss Application Server
JBoss Training: Enterprise JavaBeans 3.0 (EJB3) and the Java Persistence API (JPA) on the JBoss Application Server
JBoss Training: Java EE with Servlets JSP & JDBC on JBoss AS
JBoss Training: Servlets/JSP on the JBoss Application Server
JBoss Training: SOA and Java Web Services (JAX-WS) on the JBoss Application Server
JQuery Training
Patterns In Frameworks Workshop
SOA and Java Web Services (JAX-WS)
Software Design Training: Effective Software Development Training Boot Camp
Spring Framework Training (Spring 3)
Test Driven Development (TDD) for Java
The JSP Standard Tag Library (JSTL)
Web Development Using Grails Training
Web Services Training: Developing Java Web Services
XML Programming Using Java
    

JavaServer Faces Training: Introduction to JSF Training

  Course #:  NT115
  Duration:  3 days

JSF Training Overview

nTier's Introduction to JSF training course teaches Java web developers how to use JavaServer Faces in their web applications. JavaServer Faces (JSF) is a specification that applies traditional GUI frameworks and architectures to web applications. Students will learn the standard JSF tag libraries and write managed beans and event handlers. They will also write configuration files for managed beans and navigation in XML. Data table components are used to easily display data from databases and other sources in an HTML table. Validation and conversion is then covered including customization of these phases. This course ends with creation of custom components and an appendix on internationalization topics.

JSF Training Learning Objectives

  • Describe the JavaServer Faces (JSF) architecture
  • Build a JSF component tree with Core and HTML tag libraries
  • Create JavaBeans with properties and methods that are bound to JSF components
  • Describe the six phases of the JSF request-processing life cycle
  • Use both Action Events and Value Change Events to react to user interface interactions
  • Perform configuration of JSF applications
  • Use the data table component to present tabular information
  • Write your own validators and converters to validate user input
  • Write a custom component to aggregate two or more simpler components

JSF Training Prerequisites

Java Programming and JavaServer Pages. Programming experience with Java Servlets recommended.

JSF Training Outline

  1. Getting Started with JSF
    • GUI Development
    • JavaServer Faces
    • A JSF Application
    • JSF Components
    • Managed Beans
    • Configuration Files
    • JSF Application Structure
    • Running the Application
  2. JSF Tag Libraries
    • The JSF Component Tree
    • JSF Tag Libraries
    • Forms
    • Input Tags
    • Output Tags
    • Buttons and Links
    • Checkboxes
    • Radio Buttons, Listboxes, and Menus
    • Panels
  3. Managed Beans
    • Managed Beans and MVC
    • Properties
    • Configuring Beans
    • Bean Scope
    • Value Bindings
    • Method Bindings
    • Dynamic Beans - Lists
    • Dynamic Beans - Maps
    • Advanced Property Initialization
  4. JSF Lifecycle and Event Handling
    • JSF Lifecycle Overview
    • Restore View Phase
    • Apply Request Values Phase
    • Process Validation Phase
    • Update Model Values Phase
    • Invoke Application Phase
    • Render Response Phase
    • JSF Events
    • Action Events
    • Value Change Events
    • Immediate Events
  5. Navigation
    • Navigating Through a JSF Application
    • Basic Navigation Configuration
    • From View Id
    • From Action
    • Forward vs. Redirect
  6. Data Table Component
    • Data and Tables
    • Basic Structure
    • Headers and Footers
    • Styles
    • Adding Editable Components
    • DataModel
    • Sorting
    • Scrolling
  7. Validators and Converters
    • Validation and Conversion within the JSF Lifecycle
    • Converting Dates
    • Converting Numbers
    • Displaying Conversion Errors
    • Built-In Validators
    • Customizing Error Messages
    • Writing Your Own Converter
    • Custom Converter Configuration
    • Writing Your Own Validator
  8. Introduction to Custom Components
    • Why Custom Components?
    • Important JSF API Classes
    • Custom Component Building Blocks
    • Writing the Custom Component Class
    • Encoding
    • Using the ResponseWriter
    • Decoding
    • Writing the Tag Class
    • Building the TLD
    • Configuring the Custom Component
    • Using the Custom Component

Appendix A.  Learning Resources

System Requirements
Hardware – minimal: Pentium 500MHz, 128 meg RAM, 500 meg HD.
Hardware – recommended:   Pentium 1.5gHz, 512 meg RAM, 1 gig HD.