This example illustrates how to create the Bean Class. This is also called the Backing Bean Class. This bean class is used to store the values of the form components. It contains setter and getter methods for the properties to set and get the values. The JSF application can contain one or more backing beans. The following steps are used to create the bean class in the JSF application:-
Step1:- Go to project window and right click on project - select New - and select Java Package...
Step 2:- Enter Package Name and click Finish.
Step 3:- Right click on package - select New and select Java Class...
Step 4:- Enter Class Name - click Finish Button.
Now the class is created and will be opened for you to modify the class.
Here is a Bean Class named LoginForm.java, which can be used for example purpose.
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: December 18, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles