Fill This Form To Receive Instant Help
Homework answers / question archive / Assignment 5 Description Your task is to study a real-world software project source code and find at least three design pattern usages in the source code
Assignment 5
Your task is to study a real-world software project source code and find at least three design pattern usages in the source code. Write a short text describing where the design pattern in the code is used (which are the participants), how it works as one of the specified design patterns and how it is implemented. \
You can select one of the following two open-source projects:
JHotDraw 7 is a two-dimensional graphics framework for structured drawing editors.
Twitter API http://twitter4j.org/en/.
Source Code of the Twitter4J project is available on GitHub page https://github.com/yusuke/twitter4j/ you can clone the project or download it as a zip file
Twitter4J is an unofficial Java library for the Twitter API.
You can download the source code or use git or svn to download and create a local clone of the project. You can read the READ.ME of the project to find out how to compile the project.
Provide a description of how the design pattern is used in the project. For each design pattern you should
1. describe which class or interface is playing which role in the design pattern
2. write some sentences about the collaboration between the roles as found in this source code.
3. describe where you can easily add another class (If applicable). Typically, there are one or two locations in the design pattern, where you can easily add another class. Find this location and describe why it is easy and useful to add another class.
Produce a UML class diagram that shows the usage of the used design pattern in the project code.
Tips: -
The zip file should include a README.md file that describes how to compile and run your implementation. Create a Zip file from the root of your working directory so that it includes all subdirectories of your project. Remove the binary files before creating the zip files.