FENG Jin-dan, ZHAN De-chen, NIE Lan-shun, et al. Pattern Based Code Generation Method for the Business Component[J]. Acta Electronica Sinica, 2008, 36(S1): 19-24.
DOI:
FENG Jin-dan, ZHAN De-chen, NIE Lan-shun, et al. Pattern Based Code Generation Method for the Business Component[J]. Acta Electronica Sinica, 2008, 36(S1): 19-24.DOI:
Pattern Based Code Generation Method for the Business Component
The business component is reused to adapt requirement changes by parametrization and configuration in large scale software for enterprise
but it is developed difficulty because of the large granularity
various parameters and complexity of the structure.This paper presents a pattern based code generation method for the large-grained component to improve the efficiency and correctness of development.A specific formal pattern description language is defined to describe the typical software patterns abstracted from the existing components programmed with multiple programming languages.A code generation algorithm is proposed to transform component models for business semantics into target program based on these patterns.The visualization modeling tool and code generator have been developed to generate automatically business components based on J2EE platform.Result of a case purchase system shows effectiveness of this method.