Abstract
Software systems that rely on the component paradigm build new components by assembling existing prefabricated components. Most currently available IDEs support graphical components such as .NET Controls or JavaBeans for building GUI applications. Even though all those IDEs support arrangement and layout of those desktop components, composition support is rather limited. None of the most important composition environments support built-in validation of composition for .NET components or JavaBeans no further than type checking.
Our approach addresses these problems with lightweight extensions of existing component models with metadata attributes. We enhance the built-in composition facilities of the component model and the composition environment to exploit those metadata attributes. As we show the metadata attributes may be used to support required interfaces, constraint checks for method invocation or if all participants in a component collaboration satisify a certain protocol.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Szyperski, C.: Component Software: Beyond Object-Oriented Programming. Addison-Wesley, Reading (1998)
Heineman, G.T., Councill, W.T. (eds.): Component-Based Software Engineering: Putting the Pieces Together. Addison-Wesley, Reading (2001)
Hamilton, G. (ed.): JavaBeans. Sun Microsystems, http://java.sun.com/-beans/ (1997)
Griffiths, I., Adams, M.: .NET Windows Forms in a Nutshell. O’Reilly, Sebastopol (2003)
Johann, O., Gschwind, T.: Composing distributed components with the component workbench. In: Proceedings of the 3rd International Workshop on Software Engineering and Middleware 2002, SEM 2002 (2002)
Warmer, J., Kleppe, A.: The Object Constraint Language: Getting your models ready for MDA. Addison-Wesley, Reading (2003)
Richter, J.: Applied Microsoft.NET Framework Programming. Microsoft Press, Redmond (2002)
Johann, O.: Webpage: NET Metadata Facilities (2005), http://www.infosys.tuwien.ac.at/Staff/joe/dotnet-metadata.html
Meyer, B.: Object Oriented Software Construction. Prentice Hall, Englewood Cliffs (1997)
Yellin, D.M., Strom, R.E.: Interfaces, protocols, and the semi-automatic construction of software adaptors. In: OOPSLA 1994: Proceedings of the ninth annual conference on Object-oriented programming systems, language, and applications, pp. 176–190. ACM Press, New York (1994)
Yellin, D.M., Strom, R.E.: Protocol specifications and component adaptors. ACM Trans. Program. Lang. Syst. 19, 292–333 (1997)
DeMichiel, L.G.: Yal cinalp, L.Ü., Krishnan, S.: Enterprise JavaBeans Specification, Version 2.0. Sun Microsystems, Proposed Final Draft 2 (2001)
Meyer, B.: Applying Design by Contract. IEEE Computer 25, 40–51 (1992)
Cheon, Y., Leavens, G.T.: A runtime assertion checker for the Java Modeling Language (JML). In: International Conference on Software Engineering Research and Practice (SERP 2002), pp. 322–328. CSREA Press (2002)
Sjörgen, A.: A Method for Support for Design By Contract on the .NET platform, pp. 12–20. Artech House Publishers (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 IFIP International Federation for Information Processing
About this paper
Cite this paper
Oberleitner, J., Fischer, M. (2005). Improving Composition Support with Lightweight Metadata-Based Extensions of Component Models. In: Gschwind, T., Aßmann, U., Nierstrasz, O. (eds) Software Composition. SC 2005. Lecture Notes in Computer Science, vol 3628. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11550679_4
Download citation
DOI: https://doi.org/10.1007/11550679_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-28748-3
Online ISBN: 978-3-540-28749-0
eBook Packages: Computer ScienceComputer Science (R0)