In our paper “REARM: A Reuse-Based Economic Model for Software Reference Architectures” , accepted in the 13th International Conference on Software Reuse (ICSR 2013), we discuss the similarities and differences of software reference architectures and product line architectures. Below, we show them. An extended version can be found in .
The terms software reference architecture (RA) and product line architecture (PLA) are sometimes used indistinctly inside the SPL engineering context, in which the term RA is used to refer to “a core architecture that captures the high-level design for the applications of the SPL” [9, p. 124] or “just one asset, albeit an important one, in the SPL’s asset base” [3, p. 12].
However, out of the SPL context, RA and PLA are considered different types of artifacts . In Fig. 1 we show the main similarities and differences:
- PLAs are RAs whereas not all RAs are PLAs , i.e. PLAs are one type of RAs . PLAs are just one asset of SPL [3, p. 12].
- RAs are more generic and abstract than PLAs that are more complete architectures . Hence, “RAs can be designed with an intended scope of a single organization or multiple organizations that share a certain property”  whereas PLAs are produced for a single organization .
- RAs provide standardized solutions for a broader domain (i.e., “spectrum of systems in a technology or application domain” ) whereas PLAs provide standardized solutions for a smaller subset of the software systems of a domain  (i.e., “group of systems that are part of a product line” ). Therefore, PLAs give a coherent and more congruent view of the products in a project (i.e., possible to track the status of)  whereas by means of RAs it is more difficult to obtain congruence , since they can only provide guidelines for applications’ development.
- PLAs specifically address points of variability and more formal specification in order to ensure clear and precise behavior specifications at well-specified extension points . In contrast, RAs have less focus on capturing variation points . Although variability is not typically addressed by RAs in a systematic manner, it is also a key fact for RAs , and it can be treated as a quality attribute, rather than explicitly as ‘features’ and ‘decisions’ .
- RAs include “the reuse of knowledge about software development in a given domain, in particular with regard to architectural design”  and dictate the patterns and principles to implement, i.e. “what the design should be” . Conversely, PLAs specifically indicate deviations, i.e. “what the design is” .
- RAs include architectural knowledge and the instantiation of this architectural knowledge (i.e., reference model) into software elements . In this sense, both RAs and PLAs are “a superset, a tool box, with every possible architecture element described, which can be used in the design of a product architecture” .
- Angelov, S., Grefen, P., Greefhorst, D.: A framework for analysis and design of software reference architectures. Information and Software Technology 54(4), 417-431, 2012.
- Bass, L., Clements, P., Kazman, R.: Software Architecture in Practice. Addison-W, 2003.
- Clements, P., Northrop, L.: Software Product Lines. Addison-Wesley, 2002.
- Eklund, U., Jonsson, N., Bosch, J., Eriksson, A.: A reference architecture template for software-intensive embedded systems. In: WICSA/ECSA, 2012.
- Galster, M., Avgeriou, P.: Empirically-grounded reference architectures: a proposal. In: Proceedings of the joint ACM SIGSOFT conference QoSA/ISARCS, 2011.
- Galster, M., Avgeriou, P., Tofan, D.: Constraints for the design of variability intensive service-oriented reference architectures an industrial case study. IST 55(2), 428-441, 2013.
- Martínez-Fernández, S., Ayala, C., Franch, X., Marques, H.: REARM: A Reuse-Based Economic Model for Software Reference Architectures. In: Proceedings 13th International Conference on Software Reuse (ICSR), 2013.
- Nakagawa, E., Oliveira Antonino, P., Becker, M.: Reference architecture and product line architecture: A subtle but critical difference. ECSA, pp. 207-211, 2011.
- Pohl, K., Bockle, G., Van Der Linden, F.: Software product line engineering, vol. 10, 2005
2 thoughts on “Are Reference Architectures and Product Line Architectures the same?”
If RA is a guideline for implementation of SPL, how could it be an architecture?
An RA is a generic architecture for a class of systems that is used as a foundation for the design of concrete architectures from this class. You can find definitions of RAs in the Section 1 of this document: http://www.jserd.com/content/2/1/7
RAs are more generic and abstract than PLAs. You can see some examples in the Section 5.1.1 (Similar contexts of RAs in practice) of the above document.
Comments are closed.