{"contenttype":"result","language":"en","availableLanguages":"en","rcn":"1360366","id":"778233_PS","title":"Periodic Reporting for period 2 - BEHAPI (Behavioural Application Program Interfaces)","teaser":"The primary goal of this project is to tackle two major shortcomings currently present in the API economy:  (i) the lack of rigour in documentation practices of APIs and  (ii) the lack of support for provably correct methodologies in the round-trip engineering of APIs. We...","description":"periodic","summary":"The primary goal of this project is to tackle two major shortcomings currently present in the API economy: \n (i) the lack of rigour in documentation practices of APIs and \n (ii) the lack of support for provably correct methodologies in the round-trip engineering of APIs. \nWe advocate behavioural APIs with precise descriptions of their behaviour to validate component-based applications. Behavioural interfaces will enable more effective Software Development Life-Cycles (SDLCs) for the API economy. Traditional approaches to software development do not cope well with the development of open, scalable communication-centric systems. In particular,\n -  software is traditionally built in a top-down fashion, from requirements and specifications to code;\n -  current bottom-up approaches are very limited and not linked to the documentation of software;\n -  the continuous evolution of APIs makes the adoption of round-trip software engineering a requirement for SDLCs as opposed to more traditional top-down approaches;\n -  developing team(s) assume context boundaries for subsystems which create duplication of work or impose conflicting requirements.\n\nWe envisage behavioural specifications as lightweight yet effective instruments.  Such specifications precisely and (semi-)automatically document components and characterise their behaviour. Behavioural interfaces facilitate several software engineering activities such as component upgrades, their dynamic composition, the evaluation of their compatibility, etc. This, in turn, requires support for developing \u201copen\u201d protocols. Bottom-up approaches allow different teams to develop parts of systems independently to make components available to other projects. Moreover, bottom-up approaches allow the handling of legacy code. \n\nBehAPI enables the definition of techniques and tools for designing, testing, and deploying APIs and API-based software while reducing the time-to-market of software production. It extends existing prototypes developed in academia, and integrates them with industrial platforms and languages. The consortium tackles the following challenges:\n - How to formally document the behaviour of existing API, extending existing descriptions which only specify parameter type signature.\n - How to identify the often \u201chidden\u201d communication at different layers of abstraction in order to attain scalability.\n - How to ensure a smooth integration of third-party APIs with the system\/app being developed.\n - How to cope with upgrades while minimising disruptions to running (live) systems.\nBehAPI supports developers by easing the API documentation process. It considers automata, types, DSLs, and graphs, to enrich interfaces with behavioural information used as verifiable and lightweight documentation. More concretely, it \n - provides models and tools for the analysis, construction, and validation of API-based software.\n - integrates said models together, provide algorithms and tools based on them, and embed them within existing industrial development frameworks and SDLCs.\n - enhances testing for APIs and provide methodologies and tools for supporting traceability among the different artefacts.\n - extends industry-strength programming languages with primitives for programming b-APIs.\n - defines specification and verification techniques for (non-)functional properties, resilience, and dependability.\n\nConclusions:\n\nThe project reached all of its 10 milestones and produced all of the 17 deliverables. It contributed \n- 44 open-access publications, \n- 27 open-source tools, \n- a project website, \n- 2 summer schools and 1 boot camp, \n- 2 industrial case studies, \n- 23 tutorials and exercises, \n- numerous participations at inters-ectorial fora.","workPerformed":"We have surveyed the state-of-the-art and assembled portfolios containing theories, tools and prototypes for API-based software development using behavioural information (WP2, Task T2.1, WP3 Task T3.1, WP4, Task T4.1).   We have also engaged in disseminating these results with the public via workshops, exhibitions, boot camps and summer schools (WP5 Tasks T5.2-8).  Concretely, the results achieved up to this point are:\n\n1.  The following channels for internal and external communication have been established (Task 5.6): \n(i) two mailing lists to communicate within the consortium. \n(ii) a web portal, www.um.edu.mt\/projects\/behapi\/, hosting repositories and information that can be accessed by the general public.    \n(iii) two social media channels: www.facebook.com\/behapi.rise  and www.twitter.com\/behapi_rise used for communication and dissemination purposes. \n\n2. Courses for graduate researchers interested in the area of communication-based concurrency supported by behavioural types were developed, used at summer schools and as tutorials at top peer-reviewed conferences (Tasks T5.4). \n\n3. Various workshops and one BehAPI Summer School\/Boot Camp were organised offering courses from both academia and industry concerning both the foundations and practice of API-based software development. (Tasks T5.2, T5.3)\n\n4. State-of-the-art reports and portfolios were compiled on the following areas of API software development:\n(i) current practices of API provision  (Task T2.1)\n(ii) current practices of API consumption (Task T3.1)\n(iii) tools, prototypes and platforms for API-based software development. (Task T4.1)\n\n5. Ongoing development of languages and models to specify and extract behavioural API information for existing software. (Tasks T2.2, T3.2)\n\n6. Ongoing study of dynamic and static analysis techniques to assist the development of new API-based software and the integration of existing software (Tasks T2.4, T2.5, T3.4, T3.5). \n\n7. Ongoing development of tools and platforms realising the aforementioned models and verification techniques to form part of existing software development life-cycles (Tasks T4.2, T4.3, T4.4).\n\n8. 20 publications were produced by members of the consortium reporting on the above findings.","finalResults":"Progress beyond the state of the art: \n1. New results regarding the behavioural type subtyping for APIs in an asynchronous setting.\n2. New results on incorporating probabilistic information to API behavioural descriptions.\n3. New results on the hierarchical classification on the monitorability of linear-time properties.\n4. New toolchain development bringing together existing and newly improved tools. \n\nExpected results until the end of the project:\n1. The adaptation of existing behavioural type theory to the realities of API provision and consumption.\n2. The development of tools manifesting these adaptations.\n3. The integration of these tools in an API Software Development Life-cycle process.\n\nPotential impacts:\n1. (Short term) Adoption of our tools and methods by the software development community.\n2.  (Medium term) The qualitative improvement of API-based software in terms of aspects such as reliability and security.\n3.  (Long term) Further lowering of barriers to entry to the API Economy and fairer markets with increased competition potential \n4. (Long term) The proliferation of more API-based software into everyday life, improving the well-being of EU citizens in terms of information access, healthcare, etc","periodNumber":"2","periodFrom":"2020-03-01","periodTo":"2023-12-31","reportTypeDescription":"Periodic Reporting for period 2","identifiers":{"reportId":"285835"},"sourceUpdateDate":"2025-10-28 03:27:07","contentCreationDate":"2025-09-15 15:31:41","contentUpdateDate":"2025-11-11 10:32:28","lastUpdateDate":"2026-10-30 18:59:27","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"pubsum","title":"Report Summary","description":"Result: Publishable summary (FP7 SESAM) and Summary for publication (H2020 SyGMa)","displayCode":"\/Report Summary","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"availableLanguages":"en","rcn":"213016","id":"778233","acronym":"BEHAPI","title":"Behavioural Application Program Interfaces","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"project","title":"Project","description":"Project factsheets","displayCode":"\/Project","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"en","code":"MSCA-RISE","title":"Marie Sk\u0142odowska-Curie Research and Innovation Staff Exchange (RISE)","description":"Marie Sk\u0142odowska-Curie Research and Innovation Staff Exchange (RISE)","displayCode":"\/Marie Sk\u0142odowska-Curie Research and Innovation Staff Exchange (RISE)","attributes":{"classification":"projectFundingSchemeCategory","type":"relatedProjectFundingSchemeCategory"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"availableLanguages":"de,en,es,fr,it,pl","rcn":"664109","id":"H2020-EU.1.3.","code":"H2020-EU.1.3.","frameworkProgramme":"H2020","pga":"H2020-EU.1.3.","title":"EXCELLENT SCIENCE - Marie Sk\u0142odowska-Curie Actions","shortTitle":"Marie-Sklodowska-Curie Actions","parent":{"rcn":"664091\/664087\/664086","code":"H2020-EU.1.\/H2020-EC\/H2020"},"relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"legalbasis","title":"Legal Basis","description":"Programme: Legal basis for research funding","displayCode":"\/Legal Basis","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedLegalBasis","uniqueProgrammePart":"true"}},{"availableLanguages":"de,en,es,fr,it,pl","rcn":"664115","id":"H2020-EU.1.3.3.","code":"H2020-EU.1.3.3.","frameworkProgramme":"H2020","pga":"H2020-EU.1.3.3.","title":"Stimulating innovation by means of cross-fertilisation of knowledge","shortTitle":"MSCA Knowledge","parent":{"rcn":"664109\/664091\/664087\/664086","code":"H2020-EU.1.3.\/H2020-EU.1.\/H2020-EC\/H2020"},"relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"legalbasis","title":"Legal Basis","description":"Programme: Legal basis for research funding","displayCode":"\/Legal Basis","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedLegalBasis"}},{"availableLanguages":"en","rcn":"701907","id":"H2020_MSCA-RISE-2017","code":"MSCA-RISE-2017","frameworkProgramme":"H2020","title":"Research and Innovation Staff Exchange","parent":{"rcn":"20200","code":"H2020-Topics"},"relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"topic","title":"Topic","description":"Programme: Part of the Commission work programme implementing legal basis","displayCode":"\/Topic","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedTopic"}}]},"contenttype":"project","attributes":{"source":"corda","type":"relatedProject"}},{"language":"en","availableLanguages":"en,any","uri":"\/docs\/results\/h2020\/778\/778233_PS\/behapi-project-icon.png","alternativeText":"BehAPI project Icon","mimetype":"image\/png","size":"14336","contenttype":"webItem","attributes":{"source":"corda","type":"relatedResultAttachment"}},{"language":"en","availableLanguages":"en,any","uri":"\/docs\/results\/h2020\/778\/778233_PS\/behapi-project-logo.png","alternativeText":"BehAPI project Logo","mimetype":"image\/png","size":"51200","contenttype":"webItem","attributes":{"source":"corda","type":"relatedResultAttachment"}},{"language":"en","availableLanguages":"en","defaultLanguage":"en","id":"c1e8850a195d8295a77070b673a4439e","archivedDate":"2025-07-08 00:00:00","physUrl":"https:\/\/www.um.edu.mt\/projects\/behapi\/","status":"legacy","contenttype":"webLink","attributes":{"represents":"project","source":"corda","type":"relatedWebsite"}}]},"modelVersion":"132","icaVersion":"20.0.1-7111aba0"}