{"title":"案例研究:从面向对象的遗留应用程序中提取资源模型","authors":"C. Szymanski, Silvia Schreier","doi":"10.1145/2307819.2307825","DOIUrl":null,"url":null,"abstract":"Many companies have invested in legacy applications and want to benefit from the interoperability that the architectural style Representational State Transfer (REST) offers without redeveloping their software. One of the crucial parts when adding a REST interface to an existing application is creating an appropriate resource model. Utilizing any available model of the legacy application can accelerate development significantly because existing domain knowledge, data, and business process implementations can be reused. Despite the maturity of the architectural style, there is still little record of creating a resource model from existing object-oriented applications. This article presents a lightweight modeling process: First we harvest an existing object model for resource candidates, afterwards the resulting model is enhanced incrementally until a suitable resource model emerges. The process is illustrated by a case study that highlights interesting challenges, such as a comprehensive domain model and long running processes, as well as pragmatic solutions for these challenges. The paper demonstrates that it is feasible to add a RESTful interface to a legacy application even in a process rich environment.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":"{\"title\":\"Case Study: Extracting a resource model from an object-oriented legacy application\",\"authors\":\"C. Szymanski, Silvia Schreier\",\"doi\":\"10.1145/2307819.2307825\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Many companies have invested in legacy applications and want to benefit from the interoperability that the architectural style Representational State Transfer (REST) offers without redeveloping their software. One of the crucial parts when adding a REST interface to an existing application is creating an appropriate resource model. Utilizing any available model of the legacy application can accelerate development significantly because existing domain knowledge, data, and business process implementations can be reused. Despite the maturity of the architectural style, there is still little record of creating a resource model from existing object-oriented applications. This article presents a lightweight modeling process: First we harvest an existing object model for resource candidates, afterwards the resulting model is enhanced incrementally until a suitable resource model emerges. The process is illustrated by a case study that highlights interesting challenges, such as a comprehensive domain model and long running processes, as well as pragmatic solutions for these challenges. The paper demonstrates that it is feasible to add a RESTful interface to a legacy application even in a process rich environment.\",\"PeriodicalId\":268294,\"journal\":{\"name\":\"International Workshop on RESTful Design\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-04-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"9\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Workshop on RESTful Design\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2307819.2307825\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on RESTful Design","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2307819.2307825","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9
摘要
许多公司已经在遗留应用程序上进行了投资,并希望在不重新开发软件的情况下,从体系结构风格具象状态传输(Representational State Transfer, REST)提供的互操作性中获益。在向现有应用程序添加REST接口时,关键部分之一是创建适当的资源模型。利用遗留应用程序的任何可用模型都可以显著加快开发速度,因为可以重用现有的领域知识、数据和业务流程实现。尽管体系结构风格已经成熟,但是从现有的面向对象应用程序创建资源模型的记录仍然很少。本文介绍了一个轻量级的建模过程:首先,我们为候选资源获取一个现有的对象模型,然后逐步增强结果模型,直到出现合适的资源模型。该过程通过一个案例研究来说明,该案例研究突出了有趣的挑战,例如全面的领域模型和长时间运行的过程,以及针对这些挑战的实用解决方案。本文证明,即使在流程丰富的环境中,向遗留应用程序添加RESTful接口也是可行的。
Case Study: Extracting a resource model from an object-oriented legacy application
Many companies have invested in legacy applications and want to benefit from the interoperability that the architectural style Representational State Transfer (REST) offers without redeveloping their software. One of the crucial parts when adding a REST interface to an existing application is creating an appropriate resource model. Utilizing any available model of the legacy application can accelerate development significantly because existing domain knowledge, data, and business process implementations can be reused. Despite the maturity of the architectural style, there is still little record of creating a resource model from existing object-oriented applications. This article presents a lightweight modeling process: First we harvest an existing object model for resource candidates, afterwards the resulting model is enhanced incrementally until a suitable resource model emerges. The process is illustrated by a case study that highlights interesting challenges, such as a comprehensive domain model and long running processes, as well as pragmatic solutions for these challenges. The paper demonstrates that it is feasible to add a RESTful interface to a legacy application even in a process rich environment.