As we all know several patterns that are mentioned in "Core J2EE Patterns" are now used by JEE Platform itself i.e. Controllers, View Helpers or Composite Views in JSFs.
The question is, should we describe all patterns that are present in our architecture or only those that were reflected in our design/classes?
Krzysztof,
This is a tough question. My gut said only the ones in my design. But I hardly had any so I decided to list the built in ones as well to show I recognized them.
I am not listing them as such. I am using stereotypes in the 'class' diagram itself to show that. For ex. '<< DAO >>', '<< Facade >>'. I think the exam is about solving the business problem in an elegant way - patterns help us to get that elegance for sure, but we should not strain ourself to include patterns just for the sake of it.
You can list your patterns and describe them underneath your class diagram or you can add separate page in your assignment let's say "design pattern used" an put notes there.
BTW. Beside the risk and assumption sections I'm going to add "Design/Architecture Decisions" section as well.
Pratik Bhavsar wrote:Which section are you describing your patterns in? The only descriptive sections are assumptions and risks. Everything else is diagrams.
You can put "design pattern used" as a descriptive section under Component Diagram section becoz it is the diagram that is used to display design patterns
Pratik Bhavsar wrote:Which section are you describing your patterns in? The only descriptive sections are assumptions and risks. Everything else is diagrams.
You can write anything you want. I included design patterns to make it easier for the grader. I also included some background thoughts and a high level paragraph about my design.