Data Encapsulation in Software Components

Data encapsulation is a familiar property in object-oriented programming. It is not only useful for modelling things in the real world, but it also facilitates reuse by enabling the creation of multiple instances of the same class, each with its own identity and private data. For CBSE, this kind of reuse is clearly also one of the key desiderata. However, it must be achieved in conjunction with composition, which is central to CBSE. In this paper we show how data encapsulation can be combined with composition, by extending a component model we have defined previously.

[1]  Kung-Kiu Lau,et al.  Exogenous connectors for software components , 2005, CBSE'05.

[2]  Kung-Kiu Lau,et al.  Software Component Models , 2006, IEEE Transactions on Software Engineering.

[3]  Jeff Magee,et al.  The Koala Component Model for Consumer Electronics Software , 2000, Computer.

[4]  Paul Clements,et al.  Software architecture in practice , 1999, SEI series in software engineering.

[5]  Bill Burke,et al.  Enterprise JavaBeans 3.0 (5th Edition) , 2006 .

[6]  Paul C. Clements,et al.  A survey of architecture description languages , 1996, Proceedings of the 8th International Workshop on Software Specification and Design.

[7]  Mehdi T. Harandi,et al.  Workshop on software specification and design , 1988, SOEN.

[8]  Richard N. Taylor,et al.  A Classification and Comparison Framework for Software Architecture Description Languages , 2000, IEEE Trans. Software Eng..

[9]  Kung-Kiu Lau,et al.  Towards Encapsulating Data in Component-Based Software Systems , 2006, CBSE.

[10]  Bill Burke,et al.  Enterprise JavaBeans 3.1 , 2006 .

[11]  Kung-Kiu Lau,et al.  A Software Component Model and Its Preliminary Formalisation , 2005, FMCO.

[12]  Peng Liang,et al.  PECOS in a Nutshell , 2002 .

[13]  Mary Shaw,et al.  Software architecture - perspectives on an emerging discipline , 1996 .

[14]  KramerJeff,et al.  The Koala Component Model for Consumer Electronics Software , 2000 .

[15]  Richard Monson-Haefel,et al.  Enterprise JavaBeans , 1999, Java series.

[16]  Zhong Wang,et al.  A survey of software component models , 2005 .

[17]  Frank D. Valencia,et al.  Formal Methods for Components and Objects , 2002, Lecture Notes in Computer Science.