标题: 重構投片系統之效益分析
Performance Analysis for Refactoring A Wafer Start System
作者: 葉育芳
李永銘
管理學院資訊管理學程
关键字: 重構;MVP;Java Message Service;Java Persistence API;Refactoring;MVP;Java Message Service;Java Persistence API
公开日期: 2011
摘要: 重構:依Martin Foler在重構-改善既有程式的設計所提及重構指的是在不改變「軟體之外觀行為」的前提下,使用一系統重構準則(手法),對軟體內部結構的一種調整以提高其可理解性及降低其成本。在重構的過程中能夠幫忙程式的開發者更了解系統的功能及邏輯,而重構最大的目的在延長軟體使用的生命週期。
在本研究中以一半導體公司內的投片系統為例在重構時針對(1)程式架構設計模式就一般常使用的程式架構設計模型MVC(Model-View-Controller)、MVP(Model-View-Presenter)及MVVM(Model-View-ViewModel)做分析比較後最後使用MVP做為程式架構設計模型。(2)投片系統與外部系統整合比較Web Service及Java Message Service及(3)提高功能執行效率的部份使用Java Persistence API來實作ORM(Object-relational mapping)以取代JDBC此系統程式內做三大方面的探討,最後做重構後的效益分析,目的在解決目前投片系統所遇到問題。
The process of code refactoring could help the program developer to realize the function and logicality of the system. The purpose of code refactoring is to extend the life cycle of the soft ware.
In this research, there are three aspects to do the code refactoring of wafer start system for a semiconductor factory. The first is to analysis and to compare three common program design patterns, Model-View-Controller (MVC), Model-View-Presenter (MVP) and Model-View-ViewModel (MVVM), and to determine MVP as the program design pattern. The second is to compare Web Service and Java Message Service for integrating the wafer start system and external system. And the Java Message Service is chosen. The third is using Java Persistence API to replace JDBC to implement the Object-relational mapping (ORM) to enhance the program efficiency. The benefit analysis of the code refactoring is discussed in the end, which could solve issues of the wafer start system.
URI: http://140.113.39.130/cdrfb3/record/nctu/#GT079964510
http://hdl.handle.net/11536/50753
显示于类别:Thesis