請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/86328| 標題: | 基於開源 Java 專案的服務元件建構 Construct Service Components from Java-Based Open Source Projects |
| 作者: | WEI-LUN SHIH 施威綸 |
| 指導教授: | 李允中(Jonathan Lee) |
| 關鍵字: | 服務元件,程式碼生成,抽象語法樹,網路應用程式架構,微服務, Service Component,Code Generation,Abstract Syntax Tree,Web Application Framework,Microservices, |
| 出版年 : | 2022 |
| 學位: | 碩士 |
| 摘要: | 服務組合技術使簡單的服務能夠相互組合以完成複雜的任務,然而,服務數量的不足將會是此技術的重大困難之一。 因此,本研究提出了一個自動化流程,能夠將開源 Java 專案轉變成為服務元件,其包含以下五個步驟:辨識程式間的相依關係;從原始碼解析方法資訊;生 成服務 controller 及 invoker;生成描述服務的 WSDL 文件;若專案中有使用資料庫,便擷取並改寫專案資料庫設定。 此外,為了能更有效地重複使用開源專案原始碼,我們將服務元件分類、重組、並透過 API Gateway 存取,我們稱之為基於服務元件的微服務。 Service composition enables the service to complete complex tasks by composing simple services. However, the lack of services imposes a significant barrier to service composition. In this research work, we propose a service component generation approach to transforming Java-based open source projects into service components with the following steps: 1. identify program dependency relations, 2. parse method information from source code, 3. generate service controller and invoker, 4. generate WSDL documents to describe services, 5. extract and rewrite database configurations if the project has a database. To better manage the reusability of open source code, the service components are then grouped, repacked into microservices, and accessed through an API gateway, called service-component-based microservices. |
| URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/86328 |
| DOI: | 10.6342/NTU202202785 |
| 全文授權: | 同意授權(全球公開) |
| 電子全文公開日期: | 2022-08-29 |
| 顯示於系所單位: | 資訊網路與多媒體研究所 |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| U0001-2408202222044000.pdf | 10.33 MB | Adobe PDF | 檢視/開啟 |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
