기존 시스템에서 CBD 지원을 위한 설계 패턴 재공학

Reengineering Legacy systems into Design Patterns of Component Base Design (CBD)

  • 김국보 (대진대학교 컴퓨터공학과)
  • 발행 : 2004.02.01

초록

클래스 단위의 응용 시스템 구성은 코드 중심의 컴포넌트 추상화로 각 요소의 독립성 유지 및 재사용이 구현상에만 치우쳐 효과가 미흡하다. 따라서 상위의 개발 단계에 대한 객체 지향적 접근을 위해서는 설계 문제의 추상화와 특정 영역의 일반적인 해결에 대한 정보 표현 및 구성요소 상호 간의 관련성을 패턴을 통하여 나타낼 필요가 있다. 또한 기존 시스템의 성능을 변경, 개선하고 변화하는 환경에 적응하기 위해서는 기존 시스템을 실험, 분석함으로써 정확한 이해를 하고 나아가 재사용 자원으로 활용할 수 있는 소프트웨어 역공학이 필요하다. 따라서 본 논문에서는 기존 객체지향 시스템 코드에서 설계 패턴 추출을 위한 역공학 적용에 관한 타당성과 설계 패턴 자동 추출을 위한 알고리즘을 Java를 적용하여 살펴보고 설계 패턴의 자동 추출을 위한 역공학 및 패턴 재사용을 위한 자동화 도구의 아키텍쳐를 설계 구현한다.

The effect of Application system with class units is not sufficient because of independency and reuse of Component elements due to component abstraction based on only source code. Therefore We need to apply design pattern approach to represent not only the problem abstraction but also information and relationship between system elements for generic solutions of specific domain, Also, it is essential to software reverse engineering acquiring the correct understandings of the system through examining the existing systems and utilizing the acquired knowledges as reusable resources. In this paper, the extraction algorithm with JAVA and the validity of applying reverse engineering with extracting design patterns from source codes of the existing object-oriented system; are devised. The architecture of automatic tool is designed and implemented for 1) automatic extraction of design patterns and 2) reuse tool for retrieving, editing and rebuilding of design patterns.

키워드