Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment # 5 : Structural and Behavioral Design Patterns [ 4 % ] This assignment relates to the following Course Learning Requirements: CLR 1 -

Assignment #5: Structural and Behavioral Design Patterns [4%]
This assignment relates to the following Course Learning Requirements:
CLR 1- Implement an objected-oriented program design incorporating the use of best practice design patterns using the JAVA programming language.
Part I:
Proxy Pattern
The current code includes two classes that represent the APIs for Google and AWS services, but only a subset of the methods implemented are required for application. Because we want to expose the application only, the methods that are really required are as follows:
1. Implement a Proxy named GoogleSpeech2TextProxy for the Google API
2. Implement a Proxy named AWSTranscribeProxy for the AWS API.
3. Update the CCWorker class accordingly.
Adapter Pattern
We want to make use of the same interface (therefor, the same method) for accessing the two Proxies.
1. Implement a CCGoogleAdapter and CCAWSAdapter that have the same method (although different logic) for triggering the closed-captioning process.
2. Update the CCWorker class accordingly (keep the cc triggering using local methods).
Part II:
Observer Pattern
We want to have notifications that can be sent to the Console to simulate an external Event Logging System that may be used for Analytics and Live Monitoring.
1. Implement Observer pattern being the Recording class, the Observable Subject, and a new Notifier class, the Observer.
2. The event should be triggered when the Recording is updated with the transcript (or result from the closed captioning process) and the message generated should include information from the recording itself.
3. Update the Main class accordingly.
Submission:
Your submission for this assignment should include:
1. Java code of your final solution.
2. Report of your observations on the changes you had to do to your code while following the recommended steps. Add snippets of code or screen captures to the report to show intermediate steps.
a. Your report should not exceed 5 pages in length.
b. Note: This report can be anywhere from 2 to 4 pages depending on

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

what is the most common cause of preterm birth in twin pregnancies?

Answered: 1 week ago

Question

Which diagnostic test is most commonly used to confirm PROM?

Answered: 1 week ago

Question

What is the hallmark clinical feature of a molar pregnancy?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago