Lec06[1]

Lec06[1] - Software Connectors Interconnection Models (IM)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE Page 1 9/2/02 Software Connectors Interconnection Models (IM) as defined by Perry Unit interconnection Syntactic interconnection Semantic interconnection All three are present in a system A Which is the most appropriate at the architectural level? Unit Interconnection Defines relationships between a system’s units o Units are components (modules or files) o Basic unit relationship is dependency ± UnitIM = ({units},{“depends on”}) Examples o Determining the context of compilation ± E.g., the C preprocessor ± IM = ({files},{“include”}) o Determining recompilation strategies ± e.g., make facility ± IM = ({compile_units},{“depends on”, ”has changed”}) o System modeling ± e.g., RCS, CVS ± IM = ({systems, files},{“is composed of”}) Unit Interconnection Characteristics Coarse-grain interconnections o At the level of entire components Interconnections are static o Applicable on only one of Kruchten’s “4+1” views Does not describe component interactions o Focus is exclusively on dependencies Applicable on implemented modules only Syntactic Interconnection Describe relations among syntactic elements of PLs o Variable definition/use o Method definition/invocation
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE Page 2 9/2/02 ± IM = ({methods, types, variables, locations}, {“is def at”, “is set at”, “is used at”, “is del from”, “is changed to”, “is added to”}) Examples o Static analysis ± e.g., detection of unreachable code by compilers o Smart recompilation ± e.g., changes inside methods localize recompilation o System modeling ± finer level of granularity than Unit IM Syntactic Interconnection Characteristics Finer-grain interconnections o At the level of individual syntactic objects Interconnections are static and dynamic Applicable on conceptual and implemented modules
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Lec06[1] - Software Connectors Interconnection Models (IM)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online