The Study and Implementation of Flexible Component Model Based on JBCOM/E
|School||Lanzhou University of Technology|
|Course||Applied Computer Technology|
|Keywords||Component model sub-function flexibility Component Granularity|
Today, component technology has already become one of the key technologies of the whole software industry. Among them, component model is the core component technology content, is the realization of component definition and nature, is the interactive point of component technology research and application. And, component technology not only is the main content and results of study, but also is the main basis of practical application system development.In order to describe domain variability, on the basis of the existing component model, JBCOM, ZHANG Wen-juan, a doctor of Department of Computer Science and Technology of Beijing University, proposed a new variability-supported component model which was called JBCOM/E. However, in this component model based software development method, component granularity problem still exists.Firstly, on the basis of research to JBCOM/E and today’s domain analysis, this subject proposed a new concept, flexible component model. Secondly, on the basis of the study to composition structure of the module in the procedure, based on characteristic of the tree procedure structure, a new sub-function redundancy theory of procedure is proposed. This theory is made up of two parts: One is the theory of having sub-functions redundancy and the other is the theory of deleting useless sub-functions. Then, based on JBCOM/E and this theory, the flexible component model was realized. This theory can well solve component granularity problem, meeting the requirement which is that the price of reusing the component must be smaller than the price of redo it. Finally, referencing to Jade Bird’s production component assembly technology, under the platform of Microsoft Visual Studio.NET 2003, the POS domain’s components based on flexible component model were achieved. And a special POS system was also achieved. This example preliminarily tests that the theory and the model of the subject are correct.