A UML profile for framework modeling |
| |
引用本文: | 徐小良,汪乐宇,周泓. A UML profile for framework modeling[J]. Journal of Zhejiang University. Science. B, 2004, 0(1) |
| |
作者姓名: | 徐小良 汪乐宇 周泓 |
| |
摘 要: | INTRODUCTIONObject oriented (OO )frameworksbecamemoreandmorepopularinthesoftwareindustryduringthe1990s.Aframeworkisasetofcooper atingclassesthatmakeupareusabledesignforaspecificclassofsoftware (Deutsch ,1989;John sonandFoote,1988) .Applicationsbuiltontopofsuchaframeworkreusenotonlyitssourcecodebutalsomoreimportantitsarchitecturedesign(Pree,1994;1995;FayadandSchmidt,1997;MarkiewiczandLucena ,2 0 0 1) .Consequently,theuseofframeworksreducesthecostsandim provesthesoftwarequalitygreatly .…
|
A UML profile for framework modeling |
| |
Abstract: | The current standard Unified Modeling Language(UML) could not model framework flexibility and extendibility adequately due to lack of appropriate constructs to distinguish framework hot spots from kernel elements. A new UML profile that may customize UML for framework modeling was presented using the extension mechanisms of UML, providing a group of UML extensions to meet the needs of framework modeling. In this profile, the extended class diagrams and sequence diagrams were defined to straightforwardly identify the hot spots and describe their instantiation restrictions. A transformation model based on design patterns was also put forward, such that the profile based framework design diagrams could be automatically mapped to the corresponding implementation diagrams. It was proved that the presented profile makes framework modeling more straightforwardly and therefore easier to understand and instantiate. |
| |
Keywords: | Object oriented frameworks Unified Modeling Language(UML) UML profile Hot spots Design patterns |
|
|