Learn how to use JavaServer Faces (JSF) to build robust, secure web apps. Discover how to set up a JSF project, build a JSF page using Facelets, and secure your JSF web app.
Overview
Syllabus
Introduction
- Use JSF in your Java EE web applications
- Servlets vs. JSP vs. Facelets
- What is JSF and why use it?
- Set up a JSF project in NetBeans
- Your first JSF page
- Finish your first JSF page
- How JSF works
- What are managed beans?
- Long-lived managed beans
- Short-lived managed beans
- Initializing data and lifecycle hooks
- Navigation and FacesContext object
- Injecting components into beans
- Introduction to Facelets
- ViewAction and common properties
- Common input text components
- Selection components
- JSF file upload component
- Page layout components
- Display from data structures in Facelets
- Tables in JSF
- Links and buttons
- Display messages
- HTML5 markup and support in JSF
- Bind components to the backing bean
- Expression language in JSF
- Functional programming with EL
- Basic Ajax in JSF
- Focused Ajax in JSF
- Why you need converters
- JSF BigDecimalConverter
- JSF DateTimeConverter
- Custom JSF converters
- Custom JSF converters as managed beans
- Basic validation in JSF
- Custom validation in JSF
- JSF ViewState
- CSRF and XSS protection in JSF
- Source code protection
- JSF and the Spring framework
- JSF and third-party component libraries
- Next steps
Taught by
Tayo Koleoso