DocumentCode
2302484
Title
Reengineering of Java Legacy System Based on Aspect-Oriented Programming
Author
Chen, Liangyu ; Wang, Jianlin ; Xu, Ming ; Zeng, Zhenbing
Author_Institution
Shanghai Key Lab. of Trustworthy Comput., East China Normal Univ., Shanghai, China
Volume
3
fYear
2010
fDate
6-7 March 2010
Firstpage
220
Lastpage
223
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.
Keywords
Java; object-oriented programming; program compilers; reverse engineering; software maintenance; systems re-engineering; Java legacy system reengineering; Java program; aspect code weaving; aspect-oriented programming; binary bytecodes; bytecode decompilation; class diagram reconstruction; dependency injection pattern; sequence diagram reconstruction; system maintenance; system refactoring; system runtime behavior tracing; Computer science education; Java; Lamps; Pattern analysis; Programming profession; Reflection; Runtime; Systems engineering education; Unified modeling language; Weaving; Aspect-Oriented Programming; Java Legacy System; Reengineering; Runtime Behavior; component;
fLanguage
English
Publisher
ieee
Conference_Titel
Education Technology and Computer Science (ETCS), 2010 Second International Workshop on
Conference_Location
Wuhan
Print_ISBN
978-1-4244-6388-6
Electronic_ISBN
978-1-4244-6389-3
Type
conf
DOI
10.1109/ETCS.2010.298
Filename
5459990
Link To Document