Chengwan He, Zhijie Nie, Bifeng Li, Lianlian Cao, K. He
{"title":"Rava:设计带有动态对象角色的Java扩展","authors":"Chengwan He, Zhijie Nie, Bifeng Li, Lianlian Cao, K. He","doi":"10.1109/ECBS.2006.57","DOIUrl":null,"url":null,"abstract":"Dynamic object roles are widely considered to be helpful to conceptual modeling of application. This paper presents an approach to role implementation based on mediator pattern, which is used to object behavior extension in class-based language. We present a prototypical implementation of the approach by extending the Java language, called Rava. In the approach, role management (generation of role object, dynamic binding of core object and role etc.) is implemented by mediator object, which reduces complexity of client program. At the same time, the binding relationship between core object and role is also saved in mediator object, which reduces the coupling between core object and role and is helpful to improving their reusability. We have developed a Rava to Java translator which makes Rava sources executable on every Java virtual machine. Our Approach can also be used to extend other class-based language","PeriodicalId":430872,"journal":{"name":"13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06)","volume":"17 4","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":"{\"title\":\"Rava: designing a Java extension with dynamic object roles\",\"authors\":\"Chengwan He, Zhijie Nie, Bifeng Li, Lianlian Cao, K. He\",\"doi\":\"10.1109/ECBS.2006.57\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Dynamic object roles are widely considered to be helpful to conceptual modeling of application. This paper presents an approach to role implementation based on mediator pattern, which is used to object behavior extension in class-based language. We present a prototypical implementation of the approach by extending the Java language, called Rava. In the approach, role management (generation of role object, dynamic binding of core object and role etc.) is implemented by mediator object, which reduces complexity of client program. At the same time, the binding relationship between core object and role is also saved in mediator object, which reduces the coupling between core object and role and is helpful to improving their reusability. We have developed a Rava to Java translator which makes Rava sources executable on every Java virtual machine. Our Approach can also be used to extend other class-based language\",\"PeriodicalId\":430872,\"journal\":{\"name\":\"13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06)\",\"volume\":\"17 4\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2006-03-27\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"15\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ECBS.2006.57\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ECBS.2006.57","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Rava: designing a Java extension with dynamic object roles
Dynamic object roles are widely considered to be helpful to conceptual modeling of application. This paper presents an approach to role implementation based on mediator pattern, which is used to object behavior extension in class-based language. We present a prototypical implementation of the approach by extending the Java language, called Rava. In the approach, role management (generation of role object, dynamic binding of core object and role etc.) is implemented by mediator object, which reduces complexity of client program. At the same time, the binding relationship between core object and role is also saved in mediator object, which reduces the coupling between core object and role and is helpful to improving their reusability. We have developed a Rava to Java translator which makes Rava sources executable on every Java virtual machine. Our Approach can also be used to extend other class-based language