Java Server Faces 2.2 ( JSF ) with Theory and Practice

Learn the most important component of Java EE stack.
3.6 (10 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
92 students enrolled
25% off
Take This Course
  • Lectures 19
  • Length 2.5 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 7/2015 English

Course Description

This course will follow Oracle JSF certification topics and implement the required codes one by one while progressing. Here is the certification topics:

Essentials of JSF2.0

  • Identify the features of JSF such as Facelets, BookMarkable View, AJAX support and the benefits they bring in
  • Identify the life cycle stages of JSF, flow of request processing, and purpose of FacesContext
  • Design XHTML pages using JSF HTML tag library and demonstrate usage of JSF implicit objects
  • Develop and associate model components with views using CDI Named beans and identify the advantages of CDI Named beans over Managed Bean
  • Manage user and application state using various scopes like flash, conversation, application, request, and session
  • Implement internationalization/Localization using resource bundle and Locale class

JSF Navigation Model

  • Design JSF pages with static and dynamic implicit navigation
  • Configure faces-config XML file to implement navigation rules including conditional and redirection
  • Design bookmarkable views

Data Conversion and Validation model

  • Implement data conversion model using JSF standard converters
  • Create, configure, and use custom converters
  • Identify the best suited standard validator and implement it in a given JSF application
  • Create, configure, and use custom validators
  • Describe the usage of bean validation

Event Handling

  • Use CDI Named bean in a JSF application to handle action and valuechange events
  • Create and implement listeners to handle events
  • Develop JSF application that handle life cycle events
  • Implement asynchronous events using AJAX

Data table and Composite Components

  • Design a DataTable with header and footer to populate and manipulate data from various components like Array, List, ResultSet, DataModel and describe the differences between dataTable and ui:repeat
  • Implement composite components in JSF application and enhance it using AJAX
  • Implement templates in a JSF application and describe the differences between ui:composition and ui:decorate

Custom Components

  • Identify when and how to use custom components and custom renderers.
  • Enhance JSF application using HTML5 components

What are the requirements?

  • You should have some experience with either JSP/servlet web applications or EJB or Spring applications.

What am I going to get from this course?

  • Understanding the basics of Java Server Faces
  • Applying best practices while writing converters, validators etc
  • Preparing for any JSF toolkit such as Primefaces or RichFaces
  • Integrating JSF with Spring

Who is the target audience?

  • Programmers who already developed basic JSP/Servlet applications or Spring applications

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Preparation and Motivation
Introduction to technology stack
Preparing development environment
Model View Controller Architecture
Action Oriented and Component Oriented MVC Frameworks
Differences between action and component oriented MVC frameworks
Section 2: JSF Introduction

All source code is here

JSF Elements (Backing bean, view and FacesServlet)
Component Tree
State Saving and View State
Server-side and client-side state saving
LAB 1 - Build, install and run base JSF application
LAB 1 (continue) - HTML rendering explanation
HTML tags

Use all JSF HTML tags and see how these tags are converted to HTML pages.

Section 4: FACELETS - Page Templating

Use ui:composition, ui:define, ui:insert and ui:include facelets to create a template and use this template inside another JSF page.

Section 5: Expression Language
Theory of expression language
Lab 4 - Implementation of expression language

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Talha Ocakçı, Java SE, Java EE and Android Trainer

I have bachelor and Msc degree on computer science engineering from one of the best universities in Turkey, Yeditepe University.

I have been working as software architecture for more than 6 years and developed many scalable, reusable CRM, e-state, campaign management systems in companies like Huawei, Ebay Turkey and Nortel Netas. I am specialized in JSF 2.0 and PrimeFaces,Struts 2.0 and Spring MVC for MVC structure, Spring for dependency injection, Hibernate for ORM, Oracle, PostgreSql as RDBMS, MongoDB for NoSQL, EhCache for caching, Android Programming, Semantic Web Programming.

I have taught Java EE, JSP/ Servlet basics and Android Programming to many colleagues in several companies like Huawei, EBay Turkey and universities like Yeditepe University.

Ready to start learning?
Take This Course