# A Choreography-Based and Collaborative Road Mobility System for L'Aquila City
## 5 Conclusions and Future Work  
Since the earthquake of 6 April 2009, the city of L'Aquila has been involved in a massive and innovative reconstruction process. As a consequence, nowadays, the city can be exploited as a living laboratory model for applications within the context of smart cities. \begin{table}
\begin{tabular}{c c c} \hline \hline
**Experimental Tasks** & **Experimental Unit 1** & **Experimental Unit 2** \\ \hline Coordination logic & The code realizing the distributed coordination logic is automatically generated into a set of CDs, without requiring any manual intervention & Implement the coordination logic and the business logic for each of the distributed workflows. Design a mechanism to realize distributed workflow (subsequent tasks, parallel/decision gateways). Design a mechanism to handle asynchronous tasks in parallel. \\ \hline Prosumer services & The skeleton code of the prosumer services is automatically generated. Thus, developers are required to only fill in the blanks of highlighted and partially ready pieces of code & The prosumer services are manually implemented. In particular, for each choreography task involving a specific participant, all the logic to manipulate received messages and to build the messages to be sent need to be coded from scratch. The developers have to maintain the data and message storage to ensure the messages are well parsed and routed through different distributed flows with no data lost. \\ \hline Adaptation logic & Starting from an adapter model the adaptation logic is automatically generated into a set of ADs & The adaptation logic to bind the concrete services to the choreography participants in case of interfaces mismatches is manually implemented. \\ \hline \hline \end{tabular}
\end{table} 
Table 2: CRMS experimental tasks activities. \begin{table}
\begin{tabular}{c c c} \hline \hline
**Tasks** & **Experimental Unit 1 (ph)** & **Experimental Unit 2 (ph)** \\ \hline Coordination logic & 0 & 100 \\ Prosumer services & 12 & 22 \\ Adaptation logic & 12 & 28 \\
**Total** & **24** & **150 (126 saved)** \\ \hline \hline \end{tabular}
\end{table} 
Table 3: CRMS experimental tasks results—Implementation phase. In this context, the INCIPICT (INnovating City Planning through Information and Communication Technologies) project aims at creating a metropolitan network consisting of a fiber optic ring dedicated to the Public Administration, Schools, and Universities. This infrastructure enables the Next Generation Internet vision, and hence it can be exploited to provide innovative services for citizens. By exploiting an automated synthesis approach for the production of service choreographies that we have implemented into the CHOReVOLUTION development platform, this paper discusses the realization of a choreography-based Collaborative Road Mobility System (CRMS) for the city of L'Aquila. The CHOReVOLUTION platform is an integrated platform for developing, deploying, executing and monitoring choreography-based distributed applications. The considered CRMS is one of the use cases belonging to the INCIPICT application scenarios. The CRMS allows vehicles and transport infrastructure to interconnect, share information and use it to coordinate their actions. Furthermore, it provides traffic coordination services exploited through a mobile app for assisting drivers in the most eco-friendly and comfortable driving experience. By experimenting with the realization of the CRMS use case, we evaluated our CHOReVOLUTION synthesis approach against a set of Key Performance Indicators. The aim of the defined KPIs is to measure the time saving for realizing the CRMS use case by exploiting the automation facilities offered by the CHOReVOLUTION platform, compared to a more \"traditional\" development approach (i.e., without using the CHOReVOLUTION platform).