TY - CHAP A1 - Müller, Patrick A1 - Vu, Henry A1 - Fertig, Tobias A1 - Braun, Peter T1 - Hypermedia: The Key to RESTful Web Applications T2 - 14th International Conference on Web Information Systems and Technologies (WEBIST 2018), 3rd International Special Session on Advanced practices in Model-Driven Web Engineering (APMDWE 2018) N2 - Implementing the hypermedia constraint for RESTful Systems is a challenging task for most developers. This is due to the lack of information about how to implement hypermedia on the client-side correctly. Therefore, new tools are required to support developers with the implementation of the hypermedia constraint. We propose a model-driven approach that allows developers to define a RESTful System as a finite-state machine: states represent resources and transitions represent hypermedia links. We present a metamodel that our generator can process to generate Poymer Web Applications. These web applications fulfill all REST constraints defined by Fielding. Therefore, developers do not have to implement the hypermedia constraint themselves. Our approach simplifies the developement of REStful Web Applications and reduces the developement efforts. Moreover, we describe how RESTful Web Applications can be derived from finite-state machines. Y1 - 2018 U6 - https://doi.org/10.5220/0006927103780387 SP - 378 EP - 387 ER - TY - CHAP A1 - Vu, Henry A1 - Fertig, Tobias A1 - Braun, Peter T1 - Verification of Hypermedia Characteristic of RESTful Finite-State Machines T2 - Proceedings of the 9th International Workshop on Web APIs and Service Architecture (WS-REST 2018) N2 - Being an architectural style rather than a specification or a standard, the proper design of REpresentational State Transfer (REST) APIs is not trivial, since developers have to deal with a flood of recommendations and best practices, especially the proper application of the hypermedia constraint requires some decent experience. Furthermore, testing RESTful APIs is a missing topic within literature and especially, hypermedia testing is not mentioned at all. To deal with this state of affairs, we have elaborated a Model-Driven Software Development (MDSD) approach for creating RESTful APIs. As this project matured, we also explored the possibility of Model-Driven Testing (MDT). This work addresses the challenges of hypermedia testing and proposes approaches to overcome them with MDT techniques. We present the results of hypermedia testing for RESTful APIs using a model verification approach that were discovered within our research. MDT enables the verification of the underlying model of a RESTful API and ensuring its correctness before initiating any code generation. Therefore, we can prevent a poorly designed model from being transformed into a poorly designed RESTful API. Y1 - 2018 U6 - https://doi.org/10.1145/3184558.3191656 SP - 1881 EP - 1886 ER - TY - CHAP A1 - Vu, Henry A1 - Fertig, Tobias A1 - Braun, Peter T1 - Towards Model-driven Hypermedia Testing for RESTful Systems T2 - Proceedings of the 13th International Conference on Web Information Systems and Technologies - WEBIST N2 - Testing RESTful systems is a missing topic within literature. Especially hypermedia testing is not mentioned at all. We discuss the challenges of hypermedia testing that were discovered within our research. We will differ between client-side and server-side challenges since REpresentational State Transfer (REST) describes a client-server system. Therefore, both sides have to be considered. Hypermedia tests for the server have to ensure that there is no response without hypermedia links. However, the client also has to be hypermedia compliant. Thus, we propose to simulate a server update to check whether the client breaks. Since we use Model-driven Software Development (MDSD) to generate RESTful systems we also propose a model-driven approach for hypermedia testing. This allows us to generate tests for a server based on its underlying model. Moreover, we can build a crawler to verify our generated servers and to test all hypermedia links for different user roles. Any modification to t he model can result in a server update, which can be used to test hypermedia clients. Y1 - 2017 SN - 978-989-758-246-2 U6 - https://doi.org/10.5220/0006353403400343 SN - 2184-3252 VL - 1 SP - 340 EP - 343 PB - SciTePress ER - TY - CHAP A1 - Fertig, Tobias A1 - Braun, Peter T1 - Towards Offline Support for RESTful Systems T2 - Proceedings of the 9th International Workshop on Web APIs and Service Architecture (WS-REST 2018) N2 - Representational State Transfer (REST) is an efficient and by now established architectural style for distributed hypermedia systems. However, REST has not been designed for offline operations, yet many applications must also keep functioning when going offline for more than a few seconds. Burdening the programmer with knowledge about offline status is undesirable. RESTful applications can be described by a formal model. Therefore, we define a function to derive a formal model of the proxy for handling offline support on the client-side. We then extend existing caching approaches so that a client-side proxy can transparently hide the offline status from the application. We validate our solution with a proxy layer that covers all test cases derived from the model. Using our model and proxy, clients do not have to know and worry about whether they are online or offline. Y1 - 2018 U6 - https://doi.org/10.1145/3184558.3191655 SP - 1875 EP - 1880 ER - TY - CHAP A1 - Ulsamer, Philipp A1 - Fertig, Tobias A1 - Braun, Peter T1 - Feature Oriented DSLs T2 - Workshop zu Modellbasierter Entwicklung eingebetteter Systeme (MBEES 2018) Y1 - 2018 SP - 340 EP - 343 ER - TY - JOUR A1 - Bayer, Sven A1 - Schreibmann, Vitaliy A1 - Ackva, Ansgar A1 - Balzer, Arndt A1 - Braun, Peter T1 - PedElEc: Towards a Better Understanding of Ageing Processes of E-Bike Batteries JF - Applied mechanics and materials KW - Batterie;Batteriesysteme Y1 - 2016 U6 - https://doi.org/10.4028/www.scientific.net/AMM.848.119 SN - 1662-7482 VL - 848 SP - 119 EP - 122 ER - TY - CHAP A1 - Keckl, Matthias A1 - Müller, Patrick A1 - Braun, Peter T1 - Model-driven Software Development as the Key to RESTful Web Interfaces and Digitization T2 - 6th International Conference on Applied Informatics Imagination, Creativity, Design, Development (ICDD) 2022 Y1 - 2022 SP - 70 EP - 82 ER -