Oracle
1Z0-807 · Question #90
While analyzing an existing web application, you observe the following issues in the source code: - Duplicate control code is scattered throughout various view. - Business and presentation logic are…
The correct answer is A. Service to Worker. See the full explanation below for the reasoning.
Question
While analyzing an existing web application, you observe the following issues in the source code:
- Duplicate control code is scattered throughout various view.
- Business and presentation logic are mixed within these view.
The next phase of the project involves refactoring the existing code to address these two issues. Which design pattern, if employed in the refactoring exercise, would most directly address the two issues?
Options
- AService to Worker
- BDispatcher view
- CDAO
- DComposite View
How the community answered
(25 responses)- A80% (20)
- B4% (1)
- C4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.