Component Code Generation Using Feature Diagram and XML/XSLT

특성 다이어그램과 XML/XSLT 기술을 이용한 컴포넌트 코드 자동 생성

  • Published : 2002.08.01

Abstract

Recently for software development productivity a lot of researches in the field of software engineering hove focuses on the component-based software product lines which allows the reuse of forger-granularity software components Its purpose is to develop the specific software application of quality more rapidly by instantiating and assembling the components populated in software product line assets The essential part to build the component-based software product lines is the quality of components, and one of the most important features determining the quality of components is 'reconfigurability' Component reconfigurability means the extent to which the reusers can change the functions and architecture of the component according to their context and environment. This paper proposes the component code generation technique which provides the reconfigurability at the time of code generation using The feature diagram and XML/XSLT technologies The approach of this paper allows the component reusers to get automatically their own component source code by providing only the values of variabilities represented in the feature diagram of the component family. The real world example, the code generation system for o list container family, shows the applicability of the feature model and XML related technologies in the area of the generative programming. Our approach should be basis to build the component based software product lines and extensible to support the larger graularity components.

최근 소프트웨어 개발의 생산성 향상을 위해 보다 큰 단위의 재사용을 가능하게 하는 컴포넌트 기반 소프트웨어 생산라인에 대한 연구가 활발히 진행되고 있다. 이는, 소프트웨어 생산라인의 자산에 존재하는 일반적인 컴포넌트들을 구체화하고 조립함으로써 고품질의 특정 응용 프로그램을 빠르게 개발하는데 그 목적이 있다. 컴포넌트 기반 소프트웨어 생산라인 구축의 핵심을 컴포넌트의 품질이며. 컴포넌트의 품질을 결정짓는 가장 중요한 특성 중의 하나가 재사용시 재사용자가 컴포넌트의 기능과 구조를 목적과 환경에 맞게 변경학 수 있도록 해주는 '재구성성(reconfigurability)'이다. 본 논문에서는, 특성 다이어그램과 XML/XSLT 기술을 이용하여 컴포넌트 코드 생성 시에 재구성 성을 지원하는 컴포넌트 코드 자동 생성 기법을 제안한다. 본 논문의 기법은, 컴포넌트 패밀리의 특성 다이어그램에 표현되어 있는 차이점들에 대하여 특정 값이나 선택을 제공함으로써 컴포넌트 재사용자가 자신의 목적에 맞는 구체적인 컴포넌트의 소스 코드를 자동으로 생성할 수 있게 해 준다. 사례 연구로서 리스트 컨테이너 패밀리에 대한 컴포넌트 코드 시스템을 개발함으로써 특성 모델과 XML 관련 기술의 자동 생성 프로그래밍 영역에서의 적용 가능성을 보여준다. 본 논문의 코드 생성 시스템은 컴포넌트 기반 소프트웨어 생산라인 구축의 기반 기술로서 이용될 수 있으며, 보다 큰 단위의 컴포넌트 생성을 위한 기반으로 확장 가능하다.

Keywords