JavaServer Faces (JSF) Training

Training Description:

JavaServer Faces (or JSF for short) brings the years of experience of web application developers together into an easy to use, but highly customizable web application framework. Before JSF, frameworks like Struts were widely used. But for present day Java based Web applications, JSF is highly recommended over other frameworks and often the use of other frameworks are discouraged.

Simplicity of JSF lets even the starters to build moderately complex Web applications very easily. However, JSF promotes component reuse across projects and is highly reconfigurable and customizable. JSF also promotes separation of UI development from core business logic development. Hence, JSF has become the mostly recommended Java Web application framework. JSF officially became part of Java Enterprise Edition from version 5 (of Java EE).

This training first introduces the basics of JSF application development and gradually drills down to advanced topics.

Training Objectives:

At the end of the training, participants will be able to
  1. Compare and contrast JSF with other Web application frameworks
  2. Explain the life cycle of JSF pages
  3. Build custom converters, validators and listeners
  4. Build custom JSF UI components
  5. Use third party JSF components
  6. Internationalize and localize JSF Web applications
  7. Develop JSF applications with improved productivity with NetBeans IDE
  8. Integrate Spring and JSF together (Optional topic)

Target Groups:

  1. Java Web application developers
  2. Java focused web UI developers

Prerequisites:

  1. Participants should be familiar with Java programming language (Java Standard Edition)
  2. Ideally, participants should be familiar with developing simple web applications in Java using Servlets and JSPs. Moderately complex JSF applications can be built without any Servlet/JSP knowledge. However, some advanced topics listed below (useful in building complex JSF applications) are best followed with Servlet/JSF knowledge.
  3. It is preferred that the participants are familiar with HTML and CSS. If not, participants will be directed to on-line tutorials which are not difficult to self study.

Communication Language:

English (With Sinhala explanations if requested)

Duration:

3 Days (24 hours)

Facilitator:

Kamal Wickramanayake (Profile)

Notes:

  1. This training is delivered with hands-on lab exercises. A number of simple JSF applications will be built by the participants. Also, a relatively complex web application will also be constructed at the same time.
  2. Delivery of the training will be learner centric. Multiple delivery techniques will be used - not just lectures.
  3. To facilitate easy understanding, delivery of the training may not cover the content shown below in the exact order.
  4. NetBeans IDE, GlassFish and JBoss will be used for exercises.

Training Content:

  1. Introduction To JavaServer Faces
    • Comparison of different Web application frameworks
    • Benefits of JSF
    • Anatomy of a simple JSF application
  2. JSF Details
    • JSF UI component model
    • Navigation model
    • Life cycle of a JSF page
    • Backing beans
    • Converters and validators
  3. Coding JSP In The JSF Way
    • Adding tag libraries
    • Core tag library
    • HTML tag library
    • Binding converters, validators, listeners
    • Using Cascading Style Sheets
  4. Beyond Simple JSF Applications
    • Using controllers
    • Dependency injection
    • Customizing error messages
    • Writing custom converters and validators
    • Internationalization and localization
  5. More Development Topics
    • Getting familiar with Sun WebUI components
    • Being productive at visual web development (NetBeans)
    • Other well known third party component libraries
    • Custom UI components
  6. Integrating JSF & Spring Together (Optional)
    • Configuring Spring inside a JSF application
    • Referencing Spring beans from JSF

Trainings over the Internet