Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. a)Three different categories of design patterns are creational, structural and behavioural. Explain what each of these categories mean identifying the differences between them. b)

3. a)Three different categories of design patterns are creational, structural and behavioural. Explain what each of these categories mean identifying the differences between them.

b) The Data Access Object (DAO) is an example of a software design pattern. In relation to this pattern, provide the following:

i) The intent of the pattern. ii) A brief description ot a context in which the pattern could be applied. iii) Provide example code that shows the definition of the DAO interface and a class that implements it you may omit the detailed implementation code of the operations.

(c) For each of the following design patterns. give their intent and provide their structural design using an appropriate diagram. In your answer, outline an example use of the pattern.

i) Decorator ii) Proxy

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions