About this training
a) Self placed JSF Training
This is free online training course from RoseIndia. The
training course includes all the basic content that is required to understand
and work with JSF. The training starts with the introduction and usage of JSF
tags and goes through validators, convertors, events, component binding,
internationalization etc. At the end of the training, you will be introduced how
to work with database using JDBC. Examples are very simple to understand and
easy to implement in your application. Just go through the training and learn
JSF online free of cost.
b) How to download and run the training examples
Download the examples developed for the training
through the link Download
code for all examples. Extract the zip file and deploy it on your Tomcat
server. Submit the url http://localhost:8080/jsfexamples
in the browser. You will get list of running examples. You can modify and test
Training Course Content
- Using Core Tags, Html Tags
JSF provides useful special tags to develop views. Each
tag gives rise to an associated component.
- Using redirect element & wild card
<redirect/> is an optional element which can be used
to specify that the response is generated by the new view using redirect
response rather than rendering the response as the current request.
- Using Standard Validator & Custom
JSF validation is used to make sure that the component
is going to obtain the expected content.
- Using Standard Converter & Custom
Convertors are used to make sure the component value is
of right type.
- Action Events Listener
Action Listeners can be implemented in 2 ways. If you
use the first one then it will limit you to use only one listener for the
component but second way permits you to include more than one event listeners.
- Value Change Event Listener
Value Change Listener can be implemented in 2
ways. If you use the first one then it will limit you to use only one listener
for the component but second way permits you to include more than one listeners.
- Phase Event Listener
JSF life-cycle includes six phases and phase events are
fired during the start and end of each phase. We can capture phase events by
defining a Phase Listener class as below.
- Binding Component Value
to an Implicit Object
JSF provides list of implicit objects. These objects
can be referred in value attribute of component in the JSP page.
- Binding Component
Instance to a Bean Property
JavaBeans are used to associate the UI components. This
backing bean (JavaBean) contains properties that are bound to either component
value or component instance.
Referencing Resource Bundle from
JSF provides a good way to implement
internationalization using Resource Bundle.
- Referencing a Localized
Customizing your application to support a specific
location is known as Localization.
support like onblur, onchange, onclick, ondblclick, onfocus, onkeydown,
onkeypress, onkeyup, onmousedown, onmouseover, onmouseup, onselect etc.
- Working with Database through JDBC
You can use JDBC to work with database. For this you
can write jdbc code in the action method of the managed bean.