I am new to JSF2 and would like to know something from a design perspective. For e.g. if we have multiple multiple usecases based on various actor types, which is better way in terms of design by considering below two scenarios?
e.g In a module having total usecases count say 10,
(Scenario 1) in this scenario for 1st & 5th usecase(UC) - ManagedBean1(MB1), 2nd UC - MB2, 3rd 4th & 10th UC - MB3, 6th 7th &8th UC - MB4 and for 9th UC - MB5. Here there are 5 managed beans for 10 usecases.
(Scenario 2) Just one ManagedBean for all ten usecases.
Also, assuming each usecase has minimum of 5-15 number of form fields and some considerable amount of activities(i.e.assume as java methods) for each usecase.
I wanted to know the Pro's and Con's of both the scenario if being implemented. Thank you all in advance.
Jai