JSF - Java Server Faces for Beginners - Build a Database App

JSF - Build a Real JSF Web Application that connects to a Database - covers the latest JSF 2.2
4.5 (460 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.
3,493 students enrolled
52% off
Take This Course
  • Lectures 56
  • Length 6 hours
  • Skill Level All Levels
  • Languages English, captions
  • 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 Closed captions available

Course Description

The ONLY JSF course that shows you how to connect to a Database.

Join over 3,000 successful students.

The course has 200+ ... FIVE STAR Reviews! (the most for any JSF course, #toprated)

The best tutorial about JSF that I found online. I would strongly recommend. - Iurie Borozan

One of the best tutorial series i have ever seen because it is well organized step by step which leads anyone to understand completely. - Arshath Shameer


Covers the latest JSF 2.2! (Updated November 2016)

All source code is available for download

PDFs of all lectures are available for download

Closed-Captions / Subtitles available for English (new!)

Responsive instructor available to answer all of your questions.

Professional video and audio recordings (check the free previews)


What Is JSF?

Java Server Faces is a popular web application framework for Java. In fact, it is the standard web application framework for Java EE. Granted there are other web frameworks around, but most corporate Java positions expect Java developers to have experience with JSF since it is an integral part of Java EE.


Benefits of Taking This JSF Course

Knowing JSF can get you a job or improve the one you have. It's a skill that will put you more in demand in the modern web development industry, and make your software life easier, that's why it's so popular and backed by Oracle.

This course will help you quickly get up to speed with JSF. I will demystify JSF and help you understand the essential concepts to build a real JSF web application from scratch.

Build a Real JSF Application from Scratch

This JSF course is project based and you will build a fully functioning JSF web application from scratch.

We start off with a brief overview of JSF. Then I show you how to setup your development for JSF by installing Tomcat and Eclipse. Next, you learn how to use the standard JSF UI components for reading HTML form data and displaying output text.

Advanced coverage includes how to implement HTML form validation. I also show you how to display information in tables.

Finally, the course includes JSF and JDBC database integration. You learn how to leverage JDBC queries, inserts, updates and deletes in a JSF application.

At the end of this JSF course, you will have a fully functional JSF application that connects to a database. You can use this application as a starting point for your project.

All of the source code and database scripts are provided.


You Will Learn How To

  • Build a fully functioning JSF web application from scratch
  • Set up your JSF development environment with Tomcat and Eclipse
  • Read HTML form data with JSF
  • Perform HTML form validation with built-in and custom rules
  • Integrate Managed Beans to handle business logic
  • Display data using tables
  • Add database support with JDBC: query, insert, update and delete
  • Build a complete database web app with JDBC


Student Reviews Prove This Course's Worth

Students who take this course seem to love it. In fact, more than 3,000 students have already enrolled. The course has 200+ 5-star reviews ... the most for any JSF course on Udemy #toprated

Those who have reviewed the course have pointed out that the instruction is clear and easy to follow, as well as thorough and highly informative. Other students enjoy the use of relevant examples throughout the course, as these make the content even easier to comprehend.

Check out all of the great reviews in the review section ... a lot of happy students :-)

Compared to other JSF courses on Udemy

This is one of the few courses on Udemy that covers JSF 2.2. All other Udemy JSF courses are outdated and they only cover JSF 2.0 or 1.0. Don't waste your time and money on learning outdated technology.

Most importantly, this JSF course is project based and you'll build a real JSF application that connects to a database ... all from scratch.

I am a very responsive instructor and I am available to answer your questions and help you work through any problems.

Finally, all source code is provided with the course along with setup instructions.


Quality Material

You will receive a quality course, with solid technical material and excellent audio and video production.

This is my third course at Udemy. My first two courses were Eclipse IDE for Beginners and Java Database Connection (JDBC). These courses have received rave 5-star reviews and over 60,000 students have taken the courses.

I also have an active YouTube channel where I post regular videos. In the past year, I've created over 300 video tutorials (public and private). My YouTube channel has over 1.5 million views. So I understand what works and what doesn't work for creating video tutorials. I won't ramble on and on wasting time ... my videos are short and to the point.



  • Basic knowledge of Java is required.
  • Basic HTML knowledge is helpful.


Target Audience

  • Java Developers: any level


No Risk – Money-Back Guarantee

Finally, there is no risk. You can preview 20% of the course for free. Once you purchase the course, if for some reason you are not happy with the course, Udemy offers a 30-day money back guarantee.

So you have nothing to lose, sign up for this course and learn how to build JSF applications from scratch!

What are the requirements?

  • Basic knowledge of Java is required.
  • Basic HTML knowledge if helpful.

What am I going to get from this course?

  • Build a fully functioning JSF web application from scratch
  • Set up your JSF development environment with Tomcat and Eclipse
  • Read HTML form data with JSF
  • Apply HTML form validation with built-in JSF rules and custom rules
  • Integrate Managed Beans to handle business logic
  • Display data using tables
  • Add database support with JDBC: query, insert, update and delete

What is the target audience?

  • The course is appropriate for all Java developers: beginners to advanced

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: Course Introduction
Downloading the Source Code
2 pages
Download PDFs of All Lectures
2 pages
Closed Captions and Subtitles Available for English
Section 2: Getting Started With JSF

In this video, I will give you an overview of JavaServer Faces.


In this video, you will learn how to set up your development environment.

Installing Tomcat on Windows
Installing Tomcat on Mac
Installing Eclipse on Windows
Installing Eclipse on Mac
Connecting Eclipse to Tomcat
FAQ: HELP! - Can't Start Tomcat - Ports are in Use!
JSF Behind the Scenes
JSF Hello World
Typo Correction: Can't find facelet tag library for uri http://xmlns.jcp.org/js
Section 3: Reading User Input with HTML Forms
HTML Forms Overview
JSF Forms and Managed Beans
Drop-Down Lists - Part 1
Drop-Down Lists - Part 2
Radio Buttons
Pre-populating JSF Forms
Section 4: Validating HTML Forms
JSF Validation Features - Overview
Configuring Required Fields - Part 1
Configuring Required Fields - Part 2
Validating Number Range and Length
Validating with Regular Expressions
Implementing Custom Validation
Section 5: Implementing Business Logic with Managed Beans
Calling Methods on Managed Bean from JSF Page
Managed Bean Scopes - Part 1
Managed Bean Scopes - Part 2
Section 6: Displaying Data using Lists and Tables
Displaying Data using Lists
Displaying Data using Tables
Applying CSS Styles to Tables
Section 7: Build A Complete Database Web App with JDBC
Student Database Project Overview and Demo
Download JDBC Source Code
3 pages
Installing the MySQL Database on MS Windows
Installing the MySQL Database on Mac
Setting up our Project Database with Sample Data
Setup Tomcat Connection Pool
Sample Application Architecture - Part 1
Sample Application Architecture - Part 2
Additional Resources - Design Patterns
4 pages
JDBC - List Students
JDBC - Add a Student to the Database
JDBC - Update Student in the Database - Part 1
JDBC - Update Student in the Database - Part 2
JDBC - Delete a Student from the Database
JDBC Project Review
Section 8: JSF Resources: Recommended Books and Projects
JSF Resources - Recommended Books and Projects
3 pages
Section 9: Summary
Thank You and Please Leave a Rating for the course
Section 10: Bonus - Deploying To Tomcat using WAR files
Bonus - Deploying To Tomcat using WAR files
Section 11: Discount Coupon for More of My Java Training
Discount Coupon for More of My Java Training
Direct Links to My Java Courses
Section 12: Appendix
FAQ: How to Import Eclipse Projects

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Chad Darby, Popular Java Instructor - 60,000+ Students

Chád (shod) Darby is an author, instructor and speaker in the Java development world.

Chád is a contributing author to several Java books, including Professional Java E-Commerce (Wrox Press), Beginning Java Networking (Wrox Press), and XML and Web Services Unleashed (Sams Publishing).

Chád has Java certifications from Oracle and IBM. He holds a B.S. in Computer Science from Carnegie Mellon University.

Ready to start learning?
Take This Course