{'fraction_non_alphanumeric': 0.02316076294277929, 'fraction_numerical': 0.0, 'mean_word_length': 5.805555555555555, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Code Improvement : Implementing Design Patterns to Java EE Applications

Design patterns, acting actually as recurring solutions to common problems, offer significant benefits such as avoiding unnecessary complexity, and promoting code reuse, maintainability and extensibility. This paper describes how four not technology-specific or language-specific design patterns (Front Controller, Model View Controller, Transfer Object and Service to Worker) can be implemented to Java EE applications. It also calculates the code improvement after the implementation of each design pattern using software metrics. The improvement of the quality of the code is considered by measuring the decrease of complexity, coupling or/and response size.