ECSA 2022
Mon 19 - Fri 23 September 2022 Prague, Czech Republic

Each screen of the user interface of a mobile or desktop application coordinates one or more use cases. Each one of those use cases may need to access different entities of the persistent data. It is a common practice to inject a provider for each of those entities of the model. Thus, the more use cases the view deals with, the more entity providers need to be injected. If we extend that to all the views of the application, the complexity increases and the impact in maintainability of the application is huge. In this paper we present an architectural design pattern to address this problem, as well as an analysis of its merits. The main idea behind the architectural pattern is that use cases take care of requesting the required entity providers from a unique element that is the persistence factory. Therefore use cases are created with the required entity provider(s) in- jected, allowing the other components of the architecture to be completely decoupled from the implementation of the persistence and simplifying the dependency injection process. We include code snippets to compare our solution with the most frequently implemented alternatives by the industry.

Fri 23 Sep

Displayed time zone: Belgrade, Bratislava, Budapest, Ljubljana, Prague change

11:00 - 12:30
Architecture modeling, design and decision makingTools & Demos / Research Papers at S4
Chair(s): Henry Muccini University of L'Aquila, Italy, Luciano Baresi Politecnico di Milano
11:00
5m
Full-paper
From Informal Architecture Diagrams to Flexible Blended ModelsBest paper candidate
Research Papers
A: Robbert Jongeling Malardalen University, A: Federico Ciccozzi Malardalen University, A: Antonio Cicchetti Mälardalen University, A: Jan Carlson Malardalen University
11:05
5m
Short-paper
Debiasing Architectural Decision-Making: A Workshop-Based Training Approach
Research Papers
A: Klara Borowa Warsaw University of Technology, A: Maria Jarek , A: Gabriela Mystkowska , A: Weronika Paszko , A: Andrzej Zalewski
11:10
5m
Short-paper
Persistence Factories Architectural Design Pattern
Research Papers
A: Jorge Ortiz-Fuentes , A: Ángel Herranz Universidad Politécnica de Madrid
11:15
5m
Short-paper
Feature-based Investigation of Simulation Structure and Behaviour
Research Papers
A: Sandro Koch Karlsruhe Institute of Technology (KIT), A: Robert Heinrich Karlsruhe Institute of Technology (KIT), A: Ralf Reussner Karlsruhe Institute of Technology (KIT) and FZI - Research Center for Information Technology (FZI)
11:20
5m
Demonstration
Tool-based Attack Graph Estimation for Software Architectures
Tools & Demos
11:25
65m
Other
Discussion
Research Papers


Information for Participants
Fri 23 Sep 2022 11:00 - 12:30 at S4 - Architecture modeling, design and decision making Chair(s): Henry Muccini, Luciano Baresi
Info for session

Each paper is presented as a 5-minute pitch talk at the beginning. The rest of the session is a discussion.

Info for room S4:

After reaching the 3rd floor (either by elevator or the main staircase), turn right.