Advanced Software Engineering Coursework 1 Analysis and Refactoring
VerifiedAdded on  2023/06/03
|5
|614
|367
Homework Assignment
AI Summary
This assignment analyzes two key Java classes, JTable and BufferedImage, within the context of advanced software engineering principles. The coursework begins by identifying a 'code smell' in JTable, a GUI component used for displaying tabular data, and then dissects its responsibilities, suggesting refactoring strategies to improve its maintainability and usability. It explores four distinct areas of responsibility, providing examples of method grouping. Furthermore, the assignment examines the BufferedImage class, focusing on potential issues related to exception handling (specifically ArrayIndexOutOfBoundsException) and proposes refactoring techniques to address these problems. The solution also delves into how the Java security package utilizes design patterns, such as those related to public/private keys, key generation, and message digests, illustrating their application in securing Java applications.
1 out of 5