K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Often the most important part of the news is what they didn't tell.
Oracle Certified Professional: Java SE 6 Programmer && Oracle Certified Expert: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
Jorge Martinez wrote:Ok, thanks a lot. A few more questions:
1. So normally the backed beans will be session scoped and doesnt matter how many users the application has, right?
Jorge Martinez wrote:
2 The properties in these backed beans then will be session scoped but, there is not danger these to be session scoped because of multiple threads?
Jorge Martinez wrote:
2. in order not having two classes, one "form bean" and other "action bean" like struts does, jsf mixes both, right?
Jorge Martinez wrote:
3 Why JSF stores the values from a form in UIComponents and in the properties of backed beans? Why not only in backed beans?
Jorge Martinez wrote:
4. When in the cycle of JSF, there is a validation error, when JSF renders the view and finds something like this: "<h:inputText required="true" value="#{userBean.name}" , where JSF gets the value of "#{userBean.name}"?, from UIComponents or backed beans?. I think from UIComponents, right?
Jorge Martinez wrote:
Thanks
Often the most important part of the news is what they didn't tell.
Jorge Martinez wrote:
Disadvantages:(please correct me and add others if you consider it)
1. You dont attach the validators to the backed beans, for example, with annotations. I think the validators should be attached to the backed beans and not to the UIComponents
2. The number of model backed beans are created is proportional to the number of users
Oracle Certified Professional: Java SE 6 Programmer && Oracle Certified Expert: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
Often the most important part of the news is what they didn't tell.
Often the most important part of the news is what they didn't tell.
Often the most important part of the news is what they didn't tell.
Often the most important part of the news is what they didn't tell.
Maybe he went home and went to bed. And took this tiny ad with him:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|