I’m new in JSF.
I have a page xhtml where I use 3 bean.
Can i do this or the best way it’s a big bean with same property ?
I ask this because the page is very slow.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One way i think of is if your pages are in an aggregated way of showing the details in different panels, may be you load the panels using AJAX request to load the beans on demand. IMO a bigger bean with all the details is not a good seperation of concerns. Ideally the 3 beans which you are telling is logically grouped then it is good.