Developing Web Applications Using JSF Technologies (SL-340-EE6)
The JavaServer Faces (JSF) technology is a server-side user interface component framework for building Java technology-based web applications. Included in Java EE 6, the JSF 2.0 standard further simplifies the web application development. This course provides an in-depth introduction to the JSF technology. You will perform the course lab exercises using the NetBeans IDE and the GlassFish Application Server v3. This course supports Sun Certified JSF Developer.
What You'll Learn
- Design web applications using standard architectures, protocols, technologies, and components
- Configure JSF within the Web Container
- Design views using JSF and EL
- Design custom components using Facelets
- Design and develop the model using JavaBeans or Pojos
- Integrate external resources such as JPA within Web Application
- Integrate navigation flow/ redirection
- Integrate models and views using events
- Validate application data
- Application data conversion
- Identify, capture, and resolve errors
- Integrate security
- Test, package, and deploy applications
Who Needs to Attend
- Java developers responsible for developing and deploying JSF-based web applications
- Java developers pursuing the Sun Certified JSF Developer exam
Prerequisites
- Good understanding of the Java Programming Language
- Understanding of the fundamentals of web applications and HTTP protocol
Follow-On Courses
Course Outline
1. Getting Started with JavaServer Faces
- Common requirements for Web Applications
- JSF Web Application framework
- Architecture of the JSF Web Applications
- View Description Language (VDL)
- Role and structure of Managed Beans
- Navigation rules and cases
- Walk through a simple JSF web application
2. Designing JSF Pages Using Facelets
- Structure of Facelet pages
- Use Tag libraries in Facelet Pages
- Tag libraries supported in Facelets
- JSF Core Tag Library
- HTML RenderKit Tag Library
- Common attributes of the HTML tags
3. Using Managed Beans
- Bean properties and bean scopes
- Declare beans using annotations
- Bind UI components with Managed Beans
- Unified Expression Language (EL)
- Work with beans using Expression Language
- faces-config.xml configuration file
- Configure beans in the faces-config.xml file
- Use Java EE Resources in Managed Beans
4. Designing Navigations
- Implicit navigation rules in JSF 2.0
- Static and dynamic navigations
- Configure navigation rules and cases
- Navigation rule declaration syntax
- Navigation evaluation process
5. Validating and Converting Data
- Data conversion and validating process
- Use standard data converters and standard data validators
- Configure default validators
- Use JSR-303 Bean Validation
- Work with conversion and validation messages
- Use Error Messages
- Use Resource Bundles in JSF Pages
- Develop custom validators and converters
6. Developing Complex Facelet Pages
- Use the DataTable Component
- Use the Facelets AJAX tag
- Facelets UI Tag Library
- Facelet Templating
- Use ui:insert to define templates
- Use ui:composition to specify the template page
- Use ut:define to populate the template
7. Developing Composite UI Components
- Concept of composite UI components
- Elements of a composite component
- JSF application resource libraries
- Design composite components
- Store composite components as resources
- Use composite components
8. Working with Events
- Life cycle of JSF request processing
- Life cycle events in JSF
- Value change events
- Use action events
- Register event listenets
- Event model enhancements in JSF 2.0
9. Configuring and Deploying JSF Applications
- JSF web application stages
- Configure the state maintenance method
- Application configuration loading process
- Install and upgrade JSF for a web container
- Deploy JSF web applications to the web container
- Test and verify the JSF application
- Configure security for JSF web applications
United States [