V. Akman and M. S. , The use of situation theory in context modeling, Computational Intelligence: An International Journal, vol.13, pp.427-438, 1997.

A. L. Murphy, G. P. Picco, and G. Roman, LIME: A Middleware for Physical and Logical Mobility, Proceedings of the 21st International Conference on Distributed Computing, pp.524-533, 2001.

T. T. Antero and K. Syst¨a, Liquid software manifesto: the era of multiple device ownership and its implications for software architecture, 38th Annual Computer Software and Applications Conference (COMPSAC), pp.338-343, 2014.

A. Appannie and . Annie, , 2016.

. Apple, , 2017.

A. , , 2017.

M. Autili, P. Inverardi, and M. Tivoli, CHOREOS: large scale choreographies for the future internet, Software Maintenance, Reengineering and Reverse Engineering

J. Bailey, An event-condition-action language for XML, pp.223-248, 2004.

D. Bakken, Encyclopedia of Distributed Computing 11, 2001.

F. Ben-abdesslem, A. Phillips, and T. Henderson, Less is more: energy-efficient mobile sensing with senseless, Proceedings of the 1st ACM workshop on Networking, systems, and applications for mobile handhelds, pp.61-62, 2009.

R. Boujbel, Muscadel: A deployment dsl based on a multiscale characterization framework, Computer Software and Applications Conference Workshops (COMPSACW), 2014.
URL : https://hal.archives-ouvertes.fr/hal-01147250

C. Mascolo and L. Capra, Stefanos Zachariadis and Wolfgang Emmerich, xmiddle: A Data-Sharing Middleware for Mobile Computing, Wireless Personal Communications, pp.77-103, 2002.

K. Cheverst, N. Davies, K. Mitchell, A. Friday, and E. ,

C. , Developing a context-aware electronic tourist guide: some issues and experiences, Proceedings of the SIGCHI conference on Human Factors in Computing Systems, pp.17-24, 2000.

P. Chen, The entity-relationship model -toward a unified view of data, ACM Transaction on Database Systems, vol.1, pp.9-36, 1976.

C. Chen and T. Huang, Learning in a u-museum: Developing a context-aware ubiquitous learning environment, Computers & Education, vol.59, issue.3, pp.873-883, 2012.

E. Chtcherbina and M. Franz, Peer-to-peer coordination framework (p2pc): Enabler of mobile ad-hoc networking for medicine, business, and entertainment, Proceedings of International Conference on Advances in Infrastructure for Electronic Business, Education, Science, Medicine, and Mobile Technologies on the Internet (SSGRR2003w), 2003.

S. Clarke and C. Driver, Context-aware trails, Computer, vol.37, pp.97-99, 2004.

C. Clarke and . Driver-siobhán, Hermes: Generic Designs for Mobile, Context-Aware Trails-Based Applications, 2004.

. Crunchbase, , 2017.

. Crunchbase, , 2017.

K. Da, M. Dalmau, and P. Roose, Kalimucho: Middleware for mobile applications, Proceedings of the 29th Annual ACM Symposium on Applied Computing, 2014.

D. Evans, The internet of things: How the next evolution of the internet is changing everything, 2011.

P. David and T. Ledoux, WildCAT: a generic framework for context-aware applications, Proceedings of the 3rd international workshop on Middleware for pervasive and ad-hoc computing, 2005.
URL : https://hal.archives-ouvertes.fr/hal-00457084

L. De-oliveira and A. Loureiro, CodeDroid: A Framework to Develop Context-Aware Applications, The Fourth International Conferences on Advances in Human-oriented and Porsonalized Mechanisms, Technologies, and Services, 2011.

A. K. Dey, D. Gregory, A. Abowd, and . Wood, CyberDesk: A framework for providing self-integrating context-aware services, vol.1, pp.3-13, 1998.

D. Gelernter, Generative Communication in Linda, ACM Computing Surveys, vol.7, issue.1, pp.80-112, 1985.

E. , , p.6, 2017.

S. Elmalaki, L. Wanner, and M. Srivastava, Caredroid: Adaptation framework for android context-aware applications, Proceedings of the 21st Annual International Conference on Mobile Computing and Networking, 2015.

M. R. Endsley, B. Bolte, and D. G. Jones, Designing for situation awareness: an approach to user-centered design, 2003.

E. Bouix, M. Dalmau, P. Roose, and F. Luthon--a-multimedia, Component Model -AINA 2005 -The IEEE 19th International Conference on Advanced Information Networking and Applications -Tamkang University, 2005.

E. Bruneton, T. Coupaye, M. Leclercq, V. Quema, J. Stefani et al.,

H. W. Schmidt and K. Wallnau, An open component model and its support in java, Proceedings of the 7th International Symposium on Component-Based Software Engineering, vol.3054, pp.7-22, 2004.

R. Fatoohi, D. Mcnab, and D. Tweten, Middleware for Building Distributed Applications Infrastructure, 1997.

J. Floch, S. Hallsteinsen, E. Stav, E. Eliassen, K. Lund et al., Using architecture models for runtime adaptability, IEEE Software, vol.23, pp.62-70, 2006.

. Flybits, , p.6, 2017.

, Forbes

A. Gheith, IBM Bluemix Mobile Cloud Services, IBM Journal of Research and Development, vol.60, pp.2-3, 2016.

R. Glassey, G. Stevenson, M. Richmond, P. Nixon, S. Terzis et al., Towards a Middleware for Generalised Context Management. First International Workshop on Middleware for Pervasive and Ad Hoc Computing, 2003.

. Google, , 2017.

. Google, , 2017.

G. Play, , 2017.

T. G. Gruber, A translation approach to portable ontologies, Knowledge Acquisition, vol.5, pp.199-220, 1993.

B. Chihani, E. Bertin, and N. Crespi, A user-centric context-aware mobile assistant
URL : https://hal.archives-ouvertes.fr/hal-01298746

, Intelligence in Next Generation Networks (ICIN), 2013 17th International Conference on, pp.110-117, 2013.

, GsmArena, 2017.

, GsmArena, 2017.

T. Gu, An ontology-based context model in intelligent environments, Proceedings of communication networks and distributed systems modeling and simulation conference, 2004.

G. D. Abowd, Software Engineering Issues for Ubiquitous Computing, Int. Conf. on Software Engineering, 1999.

G. D. Abowd and E. D. Mynatt, Charting past, present, and future research in ubiquitous computing, ACM Trans. Comput.-Hum. Interact, vol.7, issue.1, pp.29-58, 2000.

S. Hadim and N. Mohamed, Middleware: Middleware challenges and approaches for wireless sensor networks, IEEE, 2006.

T. A. Halpin, Information Modeling and Relational Databases: From Conceptual Analysis to Logical Design, 2001.

A. Harter, A. Hopper, P. Steggles, A. Ward, and P. Webster, The anatomy of a contextaware application, Wireless Networks, vol.8, issue.2/3, pp.187-197, 2002.

T. Hofer, W. Schwinger, M. Pichler, G. Leonhartsberger, J. Altmann et al.,

, Context-awareness on mobile devices-the hydrogen approach, Proceedings of the 36th Annual Hawaii International Conference on, p.10, 2003.

. Hp-customer and . Support, , 2017.

J. Indulska, R. Robinsona, A. Rakotonirainy, and K. Henricksen,

, Experiences in using cc/pp in context-aware systems, LNCS 2574: Proceedings of the 4th

M. Chen, P. K. Chrysanthis, and M. , International Conference on Mobile Data Management (MDM2003)

A. Sloman and . Zaslavsky, Lecture Notes in Computer Science (LNCS), pp.247-261

J. Israel, B. Mojica, M. Adams, S. Nagappan, T. Dienst et al.,

E. Hassan, A Large Scale Empirical Study on Software Reuse in Mobile Apps, IEEE Software, vol.31

J. S. Pierce and J. Nichols, An infrastructure for extending applications' user experiences across multiple personal devices, Proceedings of the 21st annual ACM symposium on User interface software and technology (UIST '08), pp.101-110, 2008.

P. João, D. Sousa, and . Garlan, Aura: An Architectural Framework for User Mobility in Ubiquitous Computing Environments, Software Architecture: System Design, Development and Maintenance, Conference on Software Architecture, 2002.

R. Karchoud, P. Roose, M. Dalmau, I. De-courchelle, and P. Dibon, Kalimucho for smart- * : One step towards eternal applications, Industrial Technology (ICIT), IEEE International Conference on, pp.2426-2432, 2015.
URL : https://hal.archives-ouvertes.fr/hal-01910021

R. Karchoud, P. Roose, M. Dalmau, A. Illaramendi, and S. Ilarri, Long Life Application: Approach for User Context Management and Situation Understanding, Ubiquitous Computing and Communications and 2016 International Symposium on Cyberspace and Security (IUCC-CSS), International Conference on, pp.45-53, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01910019

R. Karchoud, A. Illarramendi, and S. Ilarri, Long-life application. Personal and Ubiquitous Computing, pp.1-13, 2017.
URL : https://hal.archives-ouvertes.fr/tel-02437285

R. Karchoud, All for One and One For All: Dynamic Injection of Situations in a Generic Context-Aware Application, Procedia Computer Science, vol.113, pp.17-24, 2017.
URL : https://hal.archives-ouvertes.fr/hal-01910016

K. Zhai, B. Xu, W. K. Chan, and T. H. Tse, CARISMA: a context-sensitive approach to race-condition sample-instance selection for multithreaded applications, International Symposium on Software Testing and Analysis, pp.221-231, 2012.

Z. Khan, K. Saad-liaquat-kiani, and . Soomro, A framework for cloud-based contextaware information services for citizens in smart cities, Journal of Cloud Computing, vol.3, p.14, 2014.

M. Knappmeyer, Survey of context provisioning middleware, IEEE Communications Surveys & Tutorials, vol.15, pp.1492-1519, 2013.

H. La, S. D. Jung, and . Kim, A conceptual framework for provisioning context-aware mobile cloud services, IEEE 3rd International Conference on, 2010.

. Ieee, , 2010.

J. Mccarthy, Notes on formalizing contexts, Proceedings of the Thirteenth International Joint Conference on Artificial Intelligence, R. Bajcsy, pp.555-560, 1993.

J. Mccarthy and . Buvac?, In Working Papers of the AAAI Fall Symposium on Context in Knowledge Representation and Natural Language, American Association for Artificial Intelligence, pp.99-135, 1997.

. Microsoft, , 2017.

. Microsoft,

M. Panzarino, Foursquares swarm and the rise of the invisible app

M. News and J. , , 2014.

. Mrcoffee,

M. Weiser, The Computer for the 21st Century, Scientific American, vol.265, issue.3, 1991.

. Nakamichi, , 2017.

T. Nakagawa, C. Doi, K. Ohta, and H. Inamura, Customizable Context Detection for ECA rulebased Context-aware Applications, ICMU, 2012.

B. Omer, B. Victoria, and S. Henning, Bridging communications and the physical world: Sense everything, control everything, GLOBECOM Workshops, pp.1735-1740, 2010.

S. Ovadia, Automate the internet with "if this then that" (IFTTT), Behavioral & Social Sciences Librarian, vol.33, pp.208-211, 2014.

C. Perera, A survey on internet of things from industrial market perspective, IEEE Access, vol.2, pp.1660-1679, 2014.

C. Perera, Context aware computing for the internet of things: A survey, IEEE Communications Surveys & Tutorials, vol.16, pp.414-454, 2014.

P. David, Développement de composants Fractal adaptatifs : un langage ddi l'aspect d'adaptation, 2005.

D. Romero, An sca-based middleware platform for mobile devices, Enterprise Distributed Object Computing Conference Workshops, 2008.
URL : https://hal.archives-ouvertes.fr/inria-00311807

R. Balter and S. Krakowiak, Bilan des activités du laboratoire et du pro jet Sirac, 2001.

R. Rouvoy, Composing components and services using a planning-based adaptation middleware, International Conference on Software Composition, 2008.

, Samsung, 2017.

S. Matteson, , 2015.

S. M. Shalabi, C. L. Doll, J. D. Reilly, and M. B. Shore, , vol.278, 2011.

S. M. Shalabi, C. Doll, . Lynn, and J. D. Reilly, Access control list

U. S. , Patent Application No 13/311,278, 5, 2011.

B. Schilit and M. Theimer, Disseminating active map information to mobile hosts, Network, IEEE, vol.8, issue.5, pp.22-32, 1994.

B. N. Schilit, N. L. Adams, and R. Want, Context-aware computing applications, IEEE Workshop on Mobile Computing Systems and Applications, 1994.

. Sony, , 2017.

B. Sosinsky, Cloud computing bible, vol.762, 2010.

T. Strang and C. Linnhoff-popien, A Context Modeling Survey, Workshop on Advanced Context Modelling, Reasoning and Management, 2004.

M. D. Syer, Exploring the development of micro-apps: A case study on the blackberry and android platforms, 11th IEEE International Working Conference on. IEEE, 2011.

T. Grennan, Spring 2016 mobile customer retention report an analysis of retention by day, 2016.

T. Mikkonen, K. Systa, and C. Pautasso, Towards liquid web applications, International Conference on Web Engineering (ICWE), pp.134-143, 2015.

M. Uschold and M. Gr¨uninger, Ontologies: Principles, methods, and applications

, Knowledge Engineering Review, vol.11, pp.93-155, 1996.

M. Villamizar, Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud, Computing Colombian Conference (10CCC), p.10, 2015.

, IEEE, 2015.

, W3C. Composite Capabilities / Preferences Profile (CC/PP), 2017.

. Wang and . Miao-miao, Middleware for wireless sensor networks: A survey, Journal of computer science and technology, vol.23, pp.305-326, 2008.

R. Wasinger, Scrutable user models and personalized item recommendation in mobile lifestyle applications, International Conference on User Modeling, Adaptation, and Personalization, 2013.

, WAPFORUM. User Agent Profile (UAProf), 2017.

S. Weber, Chromecast user's manual: stream video, music, and everything else you love to your TV, 2014.

Y. Zhang, 16 Mobile Mistakes That Plummet User Retention Rates

Y. Bouchard, Contextual Logic and Epistemic Contexts, 2014.

S. Zachariadis, C. Mascolo, W. Emmerich, ;. Coopis, D. et al., Satin: a component model for mobile self organisation, pp.1303-1321, 2004.

Z. Zhao, J. Liu, and N. Crespi, The design of activity-oriented social networking: Dig-Event, Proceedings of the 13th International Conference on Information Integration and Webbased Applications and Services, 2011.
URL : https://hal.archives-ouvertes.fr/hal-01302162

, Example" is present # The first and the third are executed by the device called "Example" <Example> Nexus: CreateComponent rec application

, CreateConnector c5 Example internal Example: CreateConnector c4 localDevice internal </Example> Remark: in these commands the names of components and connectors (rec, c4 and c5 don

, Commands executed each time a new device is detected # The first and the third are executed by the new device # The others are executed by the local device # In the last two commands the name of the component "display" matches the one # created by a local command (see below)

, On the other hand the connectors (c1 and c2) and the component (send) will have # a different name for each detected device <*> *: CreateComponent send* application

, CreateConnector c1* * internal *: CreateConnector c2* internal localDevice