针对软件的变化能力需求,提出支持可变特性的构件模型,可实现具有变化能力的构件;提出多形态构件:开发态、部署态和客户态,将软件的变化能力合理分解到软件生命周期的各个阶段;提出多形态构件的代码生成技术和多重生成原理,研发了代码生成工具,实现了多形态构件的自动生成.实例表明,该工具及所生成的构件能够很好的满足多变的业务需求和个性化需求.
A component model supporting variability was proposed. Then, concept of the component with multiple forms, i. e. ,developing form, deploying form,customizing form, was proposed, which supports the flexibility of software to be distributed on the phases of the software life cycle. Finally, code generation t~hniques for the component with multiple forms was proposed and a code generation tool has been developed,thus the cornponents with multiple forms can be generated automatically.Result of a case shows that,flexible business requirements and customized requirements can be well met by the tool and the components produced by it.