Font Size: a A A

Application Study Of Assembling Objects

Posted on:2011-01-24Degree:MasterType:Thesis
Country:ChinaCandidate:Y XiaoFull Text:PDF
GTID:2178330332481233Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the rapid development of computer technology, software; systems become more and more complex, that leading to the "software crisis". Software reuse is one of effective approaches to solve it. Component based software development has been one of the most important researches of software reuse nowadays. In that, component can be reused in the larger granularity in order to raise the development efficiency of software and reduce development cycle and cost of software.Nowadays, component based development (CBD) pays close attention to those coarse-grained components, while disregards to those fine-grained components. Object component, a new kind of fine-grained components, is proposed in the paper. Object component is the object in object-oriented programming (OOP) actually. This paper firstly formal study the assembling theory of object components and lightweight connectors created between object components on the basic of studying the theories of CBD and connectors created between components to passing massage. Then this paper discusses the implementation method of lightweight connectors, and finally proposes assemble-oriented language.In formal study of assembling theory of object components, we give formal definitions of four object component operations:adaptation, assembly, disassembly and replacement when they are assembled to fine-grained components. We also study fine-grained components'dependence relationships, and discuss the assembled equivalence of fine-grained components. In formal study of lightweight connectors between object components, we represent the pattern of massages-passing via them and the main regulation of massage transform in them, and follow that we formally define the lightweight connectors. Then we give a simple entry example; programming by JAVA to explain how lightweight connectors can be used, and compared that with massages-passing using OOP to confirm that using lightweight connectors can loosen the coupling between object components, and thus simplify developers'programming.At the end of the paper, a new language, assemble-oriented language, is proposed. Using this language, every class contains only own properties and functions, and the message-passing via classes is completed by lightweight connectors. Thus the relation among classes in fine-grained components changes from static coupling to dynamic coupling. So, the fine-grained components not only have clearer structures but also are easier to maintain and manage. And those will not only bring easier work to developer, and also make fine-grained components have more reusability and expansibility to fit the external changing requirement. So, assemble-oriented language will promote the development of fine-grained components, and contribute to the further development of CBD in the future.
Keywords/Search Tags:assemble-oriented, object component, lightweight connectors, fine-grained components
PDF Full Text Request
Related items