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
-
Compare and contrast JSF with other Web application
frameworks
- Explain the life cycle of JSF pages
-
Build custom converters, validators and listeners
- Build custom JSF UI components
- Use third party JSF components
-
Internationalize and localize JSF Web applications
-
Develop JSF applications with improved productivity with
NetBeans IDE
-
Integrate Spring and JSF together (Optional topic)
Target Groups:
- Java Web application developers
- Java focused web UI developers
Prerequisites:
-
Participants should be familiar with Java programming
language (Java Standard Edition)
-
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.
-
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:
-
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.
-
Delivery of the training will be learner centric. Multiple
delivery techniques will be used - not just lectures.
-
To facilitate easy understanding, delivery of the training
may not cover the content shown below in the exact order.
-
NetBeans IDE, GlassFish and JBoss will be used for
exercises.
Training Content:
- Introduction To JavaServer Faces
- Comparison of different Web application frameworks
- Benefits of JSF
- Anatomy of a simple JSF application
- JSF Details
- JSF UI component model
- Navigation model
- Life cycle of a JSF page
- Backing beans
- Converters and validators
- Coding JSP In The JSF Way
- Adding tag libraries
- Core tag library
- HTML tag library
- Binding converters, validators, listeners
- Using Cascading Style Sheets
- Beyond Simple JSF Applications
- Using controllers
- Dependency injection
- Customizing error messages
- Writing custom converters and validators
- Internationalization and localization
- 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
- Integrating JSF & Spring Together (Optional)
- Configuring Spring inside a JSF application
- Referencing Spring beans from JSF