Originally posted by ShreeRam Manivannan:
HI, Any stright forward answers for this question?.
ShreeRam,
The straight answer is that you as architect decide which approach you are going to use, and justify that choice.
There may be a particular requirement that means you are driven to select one apporach over the other. If there isn't then
you should be looking to justify your choice in terms of non-functional requirements.
None of the assignments have a single solution that you are expected to 'find', the examiners are looking for 'appropriate' choices and reasoned technical argument (expressed through your assumptions and design decisions) to back up those choices.
This applies to all the choices you make during the assignment - either there is a constraint within the information you are given that guides you down a route (stateless versus stateful, container managed persistence versus bean, etc) or there is not. When there is not you are expected to make an 'appropriate choice' and justify it in terms of the JEE architecture.
That is, after all, at the core of being a software architect.