Reengineering of Java legacy system based on aspect-oriented programming

Liangyu Chen, Jianlin Wang, Ming Xu, Zhenbing Zeng

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

7 Scopus citations

Abstract

Legacy System is difficult to be maintained and refactored for lack of necessary documents and source codes. How to generate some valuable information from system runtime behaviors is a big challenge to systems reengineering. In this paper, we attempt to reconstruct class diagram and sequence diagram from the binary bytecode of Java program by reflection and bytecode decompilation. The pattern of Aspect-Oriented Programming is applied to resolve the intricate codes of Interface and Dependency Injection pattern through weaving aspect codes into binary bytecodes during runtime to trace the system behaviors. The experiments show our approach can exactly generate the class diagram and sequence diagram from legacy Java System.

Original languageEnglish
Title of host publication2nd International Workshop on Education Technology and Computer Science, ETCS 2010
Pages220-223
Number of pages4
DOIs
StatePublished - 2010
Event2nd International Workshop on Education Technology and Computer Science, ETCS 2010 - Wuhan, Hubei, China
Duration: 6 Mar 20107 Mar 2010

Publication series

Name2nd International Workshop on Education Technology and Computer Science, ETCS 2010
Volume3

Conference

Conference2nd International Workshop on Education Technology and Computer Science, ETCS 2010
Country/TerritoryChina
CityWuhan, Hubei
Period6/03/107/03/10

Keywords

  • Aspect-oriented programing
  • Component
  • Java legacy system
  • Reengineering
  • Runtime behavior

Fingerprint

Dive into the research topics of 'Reengineering of Java legacy system based on aspect-oriented programming'. Together they form a unique fingerprint.

Cite this