RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890686
Sagar Sunkle, M. Pukall
{"title":"Using reified contextual information for safe run-time adaptation of software product lines","authors":"Sagar Sunkle, M. Pukall","doi":"10.1145/1890683.1890686","DOIUrl":"https://doi.org/10.1145/1890683.1890686","url":null,"abstract":"Software product lines (SPLs) is a paradigm to implement software products based on features. Contemporary SPL implementation techniques provide support for compile-time composition of features. Many approaches have been suggested for run-time adaptation of product lines which do not consider safe composition properties. This paper presents FeatureJ which enables safe compile-time and run-time composition of multiple product lines. We identify four compilation techniques necessary to achieve safe run-time adaptation of product lines in FeatureJ: (a) type checking of feature modules, (b) availability of contextual information at runtime, (c) resolving class-loading issues for multiple updated variants, and (d) an application container for executing and updating multiple variants. Accordingly, we show how an existing approach can be integrated with FeatureJ to support safe run-time adaptation.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125762464","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890691
A. O. Al-Zaghameem
{"title":"Extending the model of ObjectTeams/Java programming language to distributed environments","authors":"A. O. Al-Zaghameem","doi":"10.1145/1890683.1890691","DOIUrl":"https://doi.org/10.1145/1890683.1890691","url":null,"abstract":"ObjectTeams/Java realizes the Object Teams Model, a flexible and rigorous programming language model that combines aspect-oriented and collaboration-based concepts and integrates them with the object orientation model. OT/J establishes strong bonds through playedBy relationships between players and roles within a team (collaborations). OT/J has proved to be a strong programming model that allows adaptation of objects interacting within a collaboration in a single JVM. We believe that extending the OT model to distributed environments will allow the creation of a rigorous model for adapting distributed objects and developing adaptable distributed applications. This paper presents Distributed ObjectTeams/Java (DOT/J) as a distributed model that extends the OT model to distributed environments.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"15 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128531895","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890688
Thomas Würthinger, Walter Binder, Danilo Ansaloni, Philippe Moret, H. Mössenböck
{"title":"Improving aspect-oriented programming with dynamic code evolution in an enhanced Java virtual machine","authors":"Thomas Würthinger, Walter Binder, Danilo Ansaloni, Philippe Moret, H. Mössenböck","doi":"10.1145/1890683.1890688","DOIUrl":"https://doi.org/10.1145/1890683.1890688","url":null,"abstract":"Dynamic aspect-oriented programming (AOP) is a powerful approach for integrating new features into running applications without disrupting their execution. In Java, dynamic AOP frameworks often use runtime weaving of previously loaded classes, which is however severely restricted because of limitations in current Java Virtual Machines (JVMs). These constraints make it very difficult or even impossible to support important AOP features such as static join point information, around() advice, or explicit structural modifications of classes and the class hierarchy. In this position paper we advocate the idea of using advanced dynamic code evolution features to improve dynamic AOP. We present an enhanced JVM, based on a state-of-the-art production JVM, which offers unrestricted class redefiniton. Thanks to this feature, we are able to redesign the dynamic AOP framework HotWave in order to overcome the aforementioned restrictions in the programming model.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126634801","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890684
Carlos Noguera, Andy Kellens, D. Deridder, T. D'Hondt
{"title":"Tackling pointcut fragility with dynamic annotations","authors":"Carlos Noguera, Andy Kellens, D. Deridder, T. D'Hondt","doi":"10.1145/1890683.1890684","DOIUrl":"https://doi.org/10.1145/1890683.1890684","url":null,"abstract":"Within the aspect-oriented software development community, the use of annotation-based pointcuts has been proposed as a means to alleviate the fragile pointcut problem. Expressing pointcuts in terms of source-code annotations instead of the structure of the source code, decouples them from the source code of the base system and makes them more robust with respect to evolution. In this paper we demonstrate that, while annotations are suitable to capture static domain knowledge that can be leveraged by pointcut expressions, these annotations are ill-suited to capture dynamic domain knowledge. Consequently, pointcuts that rely on such dynamic knowledge still need to be defined in terms of actual source-code entities, thereby rendering them fragile again. As a means to alleviate this problem we propose Dynamic Annotations, an extension to Java annotations where the dynamic conditions under which the annotation is valid can be embedded in the annotation itself. By expressing pointcuts in terms of such dynamic annotations, these pointcuts are effectively decoupled from the structure of the base program, and become less fragile with respect to evolution.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117040188","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890685
Peter Ebraert, Hans Schippers, Tim Molderez, D. Janssens
{"title":"Safely updating running software: tranquility at the object level","authors":"Peter Ebraert, Hans Schippers, Tim Molderez, D. Janssens","doi":"10.1145/1890683.1890685","DOIUrl":"https://doi.org/10.1145/1890683.1890685","url":null,"abstract":"Software applications are updated frequently during their life cycle. In order to do so, they usually must be shut down, adapted and restarted. This causes periods of unavailability, which is not acceptable for some applications. Dynamic software updates (DSU) -- in which applications are updated at runtime -- is a technique that can be used to update software without the need to restart it.\u0000 One of the problems of DSU is ensuring state consistency of the active application. Tranquility has been proposed as a necessary and sufficient condition for ensuring state consistency at the granularity of software components. As many object-oriented applications do not have a notion of software components, we aim to introduce tranquility at object granularity.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127435428","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890689
W. Cazzola, D. Poletti
{"title":"DSL evolution through composition","authors":"W. Cazzola, D. Poletti","doi":"10.1145/1890683.1890689","DOIUrl":"https://doi.org/10.1145/1890683.1890689","url":null,"abstract":"The use of domain specific languages (DSL), instead of general purpose languages introduces a number of advantages in software development even if could be problematic to maintain the DSL consistent with the evolution of the domain. Traditionally, to develop a compiler/interpreter from scratch but also to modify an existing compiler to support the novel DSL is a long and difficult task. We have developed Neverlang to simplify and speed up the development and maintenance of DSLs. The framework presented in this article not only allows to develop the syntax and the semantic of a new language from scratch but it is particularly focused on the reusability of the language definition. The interpreters/compilers produced with such a framework are modular and it is easy to add remove or modify their sections. This allows to modify the DSL definition in order to follow the evolution of the underneath domain. In this work, we explore the Neverlang framework and try out the adaptability of its language definition.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114146229","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890690
Y. Liu, Bin Zhang, Guoqi Liu, Mingwei Zhang, Jun Na
{"title":"Evolving SaaS based on reflective Petri nets","authors":"Y. Liu, Bin Zhang, Guoqi Liu, Mingwei Zhang, Jun Na","doi":"10.1145/1890683.1890690","DOIUrl":"https://doi.org/10.1145/1890683.1890690","url":null,"abstract":"SaaS(Software as a service) is a new emerging software design, implement and deploy model. It provides personalized service to multi tenants by one instance over Internet. In order to meet the needs from tenant, it needs to continuously evolve. Most evolving systems utilize the reflective framework to adapt to the changes flexibly. Compared with other reflection framework, the reflection Petri Nets uses the formal verification method, which could help us to simulate the evolving process dynamically, and provide the reliable running for the evolving SaaS. We put forward to modeling the evolving SaaS based on Reflective Petri Nets, define the base-level and meta-level model in our work separately and propose the checking rules to verify the correctness of the evolutionary strategy. The modeling method could be referred as an application of Reflective Petri Nets.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123703394","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2010-06-22DOI: 10.1145/1890683.1890687
B. Meyers, Peter Ebraert, D. Janssens
{"title":"Intensional changes avoid co-evolution!","authors":"B. Meyers, Peter Ebraert, D. Janssens","doi":"10.1145/1890683.1890687","DOIUrl":"https://doi.org/10.1145/1890683.1890687","url":null,"abstract":"Modularization is key to support the maintainability of software systems. In some cases, however, maintenance requires certain modules to evolve together. This phenomenon complicates software maintainability and is commonly referred to as co-evolution. In this paper, we tackle co-evolution in the domain of change-based feature-oriented programming (ChOP). In ChOP, feature modules -- each matching the implementation of one requirement -- are specified as sets of first-class change objects. Our solution is based on intensional changes: descriptive changes that are automatically evaluated with respect to the other feature modules before they are applied. We present a maintenance scenario and use it to show how intensional changes avoid co-evolution.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"122 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126976571","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2009-07-07DOI: 10.1145/1562860.1562865
Naoyasu Ubayashi, Hidenori Akatoki, Jun Nomura
{"title":"Pointcut-based architectural interface for bridging a gap between design and implementation","authors":"Naoyasu Ubayashi, Hidenori Akatoki, Jun Nomura","doi":"10.1145/1562860.1562865","DOIUrl":"https://doi.org/10.1145/1562860.1562865","url":null,"abstract":"This paper proposes archface, a pointcut-based interface mechanism for bridging a gap between architectural design and its implementation. Archface, which encapsulates the essence of architectural design, is not only an architecture description language (ADL) but also a programming-level interface. Archface is based on the component-and-connector architecture, one of the most popular architectural styles. Archface is effective for software evolution because the trace-ability between design and its implementation can be realized by enforcing architectural constraints specified in archface on the program implementation. This traceability is bidirectional. In the modern software development, not only object orientation (OO) but also aspect orientation (AO) plays an important role in the architectural design because dealing with crosscutting concerns becomes crucial for designing reliable and maintainable software. In archface, AO can be easily introduced into architecture descriptions only with the component-and-connector mechanism. We do not have to distinguish AO from traditional OO-based design modeling approaches. Archface integrates not only design modeling with its implementation but also AO with OO.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"31 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-07-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128266154","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
RAM-SE@ECOOPPub Date : 2009-07-07DOI: 10.1145/1562860.1562861
S. Previtali, Michele Schäuble, T. Gross
{"title":"Revision classes for explicit versioning","authors":"S. Previtali, Michele Schäuble, T. Gross","doi":"10.1145/1562860.1562861","DOIUrl":"https://doi.org/10.1145/1562860.1562861","url":null,"abstract":"The source code of software is typically managed by version control systems that keep track of the different versions of files over time. As versioning is associated with a file and not a class, the versioning mechanism is semantically detached from the actual source code. This paper introduces the concept of revision classes. Revision classes provide an explicit versioning mechanism for classes that, similar to inheritance, allows the developer to redefine existing class members and add new class members in a new version. This explicit versioning mechanism allows the developer to explicitly declare the deltas to a previous version. The developer may reflect on the necessity of updates and thus errors can be avoided that sneak into the source code by inconsiderate changes.","PeriodicalId":205242,"journal":{"name":"RAM-SE@ECOOP","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-07-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116018922","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}