TY - CHAP A1 - Thüm, Thomas A1 - Apel, Sven A1 - Zelend, Andreas A1 - Schröter, Reimar A1 - Möller, Bernhard A2 - Sakkinen, Markku T1 - Subclack: feature-oriented programming with behavioral feature interfaces T2 - Proceedings of the 5th Workshop on MechAnisms for SPEcialization, Generalization and inHerItance - MASPEGHI '13, Montpellier, France, July 01 - 01, 2013 N2 - Feature-oriented programming extends object-oriented programming to support feature modularity. Feature modules typically cut across class boundaries to implement end-user-visible features. Customized program variants can be composed automatically given a selection of desired feature modules. We propose behavioral feature interfaces based on design by contract for precise localization of faulty feature modules. There are three different approaches for feature-module composition, which are considered to be equivalent in the literature. We discuss advantages and disadvantages for each approach with regard to behavioral feature interfaces. Based on our insights, we present Subclack as a new approach for feature-module composition combining the advantages of all existing approaches. In our examples, we use contracts defined in an feature-oriented extension of the Java Modeling Language, and discuss how they can be checked by means of runtime assertions. Y1 - 2013 UR - https://opus.bibliothek.uni-augsburg.de/opus4/frontdoor/index/index/docId/58754 UR - https://nbn-resolving.org/urn:nbn:de:bvb:384-opus4-587547 SN - 9781450320467 SP - 1 EP - 8 PB - ACM Press CY - New York, NY ER -