The main idea is simply an extension of object-oriented design: separate the attention of your program. In the same way, you can make several different PERL scripts and combine them together to do the work, we will make several different JSF components and put them together to do the work.
Let's take a simple registration form as an example. I want to find out your name, your date of birth, your address and send all this to the background to complete the work.
, , . , , , . , bean "". , , , , bean ( ) . .:)
, , . , , . . , h: inputText bean.
-, . h: inputText f: converter, bean . , , Java Script, . IceFaces RichFaces . : , .
-, . , , , . , . , ajaxy, . , , ,
<foo:address value="#{BarBean.address}"/>
.
-, - . , ! - . , ui: define. , , JSF; Facelets. IceFaces - . AJAXy, , , ( .;), , , , .
, : , .