jsf mvc implementation

I read as below regarding MVC implemention in JSF.

'one managed bean for all the data. This managed bean code handling user input and output data is view or presentation layer

Other managed bean all action event handlers.Other managed bean handling the action event , execution logic, control logic is controller.

Business logic and presentation logic, getters and setters,rest  other managed bean.'

I was not clear on this.

Please advise.

Any links resources ideas highly appreciated. Thanks in advance
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sharon SethCommented:
Can you restate clearly what you read ?
Pramod KumarCommented:
JSF bean is at the Presentation Layer which actually doing below things
Get-Set JSP/UI data
Control the flow: request/response/redirect etc.

Normally we do not write business logic into bean but there is no restriction. As per multi-tier architecture, we should have a separate layer for business logic where we will be having Service classes which can be called from the JSF Bean. This way the service classes may be associated with Data access layer to communicate with the database.

For further readings you may hit below url:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Different beans have different roles in JSF, that's all. You have beans to manage the logic, beans that are just value holders etc.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.