Hi All,
I am new to
JSF and i have started JSF 2.0 recently. I am currently referring to Core
Java Server Faces Edition 3.
I was at chapter 2 which is called Managed Beans and i came across some statements which made me confused. Any help
in their context will be highly appreciated.
-It says the term backing bea and the definition is sometimes it is convinient to design a bean that contains some or all component objects
of a web-form. Such a bean is called a backing bean. This backing bean (JavaBean) contains properties that are bound to either component value or
component instance. My question is
1- What does it mean by binding component value or component instance? What's the basic difference?
2- Secondly it tells something about CDI beans. It says that, it is good to use CDI beans rather then backing beans when you deploy your application
in a web-server. My question is why should i use CDI, when my managed bean is managed by the framework itself and this CDI bean configuration
i have to write somewhere. Why should i take this hassle?
Another thing, am i following right path by using Core Java Server Faces, because it is updated for JSF 2.0. Any other tutorials or pointers will be
appreciated as well.
Best Regards,