§ 瀏覽學位論文書目資料
  
系統識別號 U0002-2901200722490100
DOI 10.6846/TKU.2007.00957
論文名稱(中文) 支援時間排程之網路軟體開發平台
論文名稱(英文) A Framework to Support Developing Time-Based Web Applications
第三語言論文名稱
校院名稱 淡江大學
系所名稱(中文) 資訊工程學系碩士在職專班
系所名稱(英文) Department of Computer Science and Information Engineering
外國學位學校名稱
外國學位學院名稱
外國學位研究所名稱
學年度 95
學期 1
出版年 96
研究生(中文) 胡江林
研究生(英文) Chiang-Lin Hu
學號 793190157
學位類別 碩士
語言別 繁體中文
第二語言別
口試日期 2007-01-16
論文頁數 71頁
口試委員 指導教授 - 鍾興臺
委員 - 謝文恭
委員 - 洪文斌
關鍵字(中) 框架
排程
關鍵字(英) Framework
第三語言關鍵字
學科別分類
中文摘要
目前的應用程式框架都缺乏了對商業邏輯層中邏輯流程的控制,在複雜的商業邏輯中,系統開發人員往往讓各個物件去決定下一個呼叫的對象,而這樣的設計很容易造成系統缺乏彈性,因為一個複雜的商業邏輯流程可能牽扯到好幾個步驟,如果步驟間的關係是隱含在物件裡面,由物件去決定下一個呼叫的目標,會導致之後變更不易,而且流程的關係不容易被了解,進而造成維護上的困難。綜觀市場上的應用程式框架都只有針對控制層的部份提供了強大的流程控管,例如Spring Framework或是Struts Framework,但這些框架卻都少了對商業邏輯層的管控,是故,本論文針對MVC中的商業邏輯層做深入的研究,並嘗試建立一套應用程式框架,此框架以J2EE為基礎架構,利用XML文件去決定商業邏輯流程中每一個步驟執行的順序及執行的排程。運用本論文所提供的商業邏輯流程架構,可以提供一般企業的系統開發人員建立有彈性的系統,藉此減少系統開發人員工作上面的負擔,而且在本論文提供的商業邏輯流程架構中,是利用XML去維繫類別與類別間的關係,所以與傳統程式架構相比,類別與類別間的關係並沒有像傳統般的那樣緊密,這樣的好處是之後流程的更改可以變的更輕鬆,大幅的降低了修改的風險以及花費的成本,另外,藉由XML文件來表達流程的運作,能讓系統開發者一目了然,即使因為人員的異動,新接手的人員也能輕鬆的了解流程的運作以及類別間的關係。
英文摘要
The current application frameworks all lack the logic procedure control of the commercial logic model. In a complicated commercial logic, system developers often leave each object to decide the next object to be called. But this design can easily cause the system inflexible, because a sophisticated commercial logic procedure may involve several actions. If the relations among each step were defaulted in the objects, and let them decide the next target to be called, it will be difficult to make any change afterwards, and it would be hard to understand the relation of the procedure, thus create difficulties on maintenance.
Most application frameworks on the market, such as Spring Framework or Struts Framework, only supply strong procedure management ability for the control level, and lack the management of commercial logic model. Therefore, this thesis made an in-depth research to the commercial logic model in MVC, and tried to establish an application framework base on the J2EE, and determined the executive sequence and executive schedule of every action in the commercial logic procedure using XML document.
System developers in ordinary companies can adopt the commercial logic procedure of this thesis to build a flexible system, and reduce the workload of system developers. The commercial logic procedure framework of this thesis used XML to maintain the relations among categories, and these relations are less intense than in the traditional coding framework. The benefit is to ease up the procedure change afterwards, and significantly lower the risk of modification and the relative cost. In addition, using XML documents to display the procedure can help systems developers enhance the understanding of the commercial logic procedure. Even when there is personnel change, the new replacement can easily catch the running of the procedure, and the relations among categories.
第三語言摘要
論文目次
目錄	i
圖表目錄	iv
第一章. 序論	1
1.1 研究動機	2
1.2問題分析	2
1.3 論文內容概述	3
第二章. 背景說明	4
2.1 MVC基本介紹	4
2.1.1 MVC的變型	5
2.1.2 Page Controller的介紹	10
2.1.3 Front Controller的介紹	10
2.2 Spring 的簡介	11
2.2.1 Spring 的架構介紹	12
2.2.2 Spring在控制層的設計	14
2.2.3 Spring的Web MVC 架構及處理流程	15
2.3 XML基本介紹	19
2.3.1 XML的起源	19
2.3.2 XML的優點及特性	19
第三章. 商業邏輯流程的應用程式框架	20
3.1商業邏輯流程應用程式框架的設計概念	20
3.2商業邏輯流程的應用程式框架所定義的XML格式	22
3.2.1 <beans-mapping> 和 <bussLogicBean>	22
3.2.2 <bussLogicFlows-mapping>、<bussLogicFlow>、<action>、<selectAction>和<parameter>	24
3.4 商業邏輯流程的應用程式框架與Spring的關聯	29
3.4.1 SpringController抽象類別	30
3.4.2 Handler類別	32
3.4.3 Command抽象類別	33
3.4.4 BussLogicFlowAction類別	34
3.4.5 BussLogicFlowConfig類別	36
3.4.6 BussLogicFlowScheduleManager類別	37
3.4.7 LogicFlowParameters物件及BussLogicFlow介面	38
第四章 系統架構與雛型實作	41
4.1 需求分析	41
4.2 系統分析	43
4.3 系統設計	44
4.3.1 package設計架構	44
4.3.2 類別設計架構	46
4.4 新增訂單與作業流程框架的結合	47
4.4.1 新增訂單的流程	47
4.4.2 類別內容說明	50
第五章. 結論與未來方向	58
參考文獻	60
附錄A.  英文論文稿	62
圖表目錄

圖2-1.Model-View-Controller三者相互間的關係	5
圖2-2.在主動模型中使用觀察器將模型與畫面分離	7
圖2-3.在主動模型中呼叫的流程	7
圖2.4.在被動模型中呼叫的流程	8
圖2.5.Http協定的流程運作模型	9
圖2.6.Spring架構[8]	12
圖2.7.web.xml範例	15
圖2.8.Spring Bean 定義檔範例	15
圖3.1.面試流程示意圖	21
圖3.2.<bussLogicBean>標籤的範例	23
圖3.3.<beans-mapping> 和 <bussLogicBean>的相對位置範例	24
圖3.4. <bussLogicFlow>標籤的範例	25
圖3.5.<action>標籤的範例	25
圖3.6.<selectAction>標籤的範例	26
圖3.7.<parameter>標籤的範例	27
圖3.8.流程說明範例	27
圖3.9.流程範例的XML設定	28
圖3.10.Spring與BussLogicFlow的關係	29
圖3.11.SpringController的部分程式碼	30
圖3.12. Handler的部分程式碼	32
圖3.13.Command的部分程式碼	33
圖3.14. BussLogicFlowAction物件的部分程式碼	34
圖3.15. BussLogicFlowConfig的部份程式碼	36
圖3.16. BussLogicFlowScheduleManager的部份程式碼	37
圖3.17. LogicFlowParameters程式碼	38
圖3.18. BussLogicFlow介面程式碼	39
圖4.1.倉儲管理系統類別圖	43
圖4.2.各模組的位置圖	45
圖4.3.Product的package設計	45
圖4.4.類別關係圖	46
圖4.5.新增訂單的第一步驟	47
圖4.6.新增訂單的第二步驟	48
圖4.7.新增訂單的流程	48
圖4.8. BussLogicFlow的config.xml檔案	49
圖4.9.AddOrder的部份程式碼	51
圖4.10.CalculateAmount類別的部份程式碼	52
圖4.11.CheckCustomer類別的部份程式碼	53
圖4.12.SaveOrder類別的部份程式碼	54
圖4.13.UpdateStorage類別的部份程式碼	55
圖4.14.NotifySupplyLine類別的部份程式碼	56
參考文獻
[1] Ted Husted, Cedric Dumoulin, George Franciscus, David Winterfeldt, Struts in Action: Building Web Applications with the Leading Java Framework
[2] Craig Walls, Ryan Breidenbach, Spring in Action (In Action series)
[3] George Shepherd ,Scot Wingo , MFC Internals:inside the Microsoft Foundation class architecture , (Addison-Wesley, 1996),
[4] 微軟 架構與模式小組, 基於.NET的Web應用架構構建模式, 2004/04/30
[5] Martin Fowler, Patterns of Enterprise Application Architecture
[6] Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides., Design Patterns: Elements of Reusable Object-Oriented Software
[7] IBM, http://www-128.ibm.com/developerworks/tw/library/ wa-spring1/
[8] Spring Framework Reference, http://static.springframework.org/spring/docs/2.0.x/reference/index.html
[9] 羅時飛, 精通Spring Framework, 博碩文化出版
[10] XML, Extensible Markup Language, http://ww.w3.org/
[11] Java API for XML http://java.sun.com/webservices/jaxp/
[12] Sun Microsystems, Core J2EE Pattern Catalog, http://www.corej2eepatterns.com/Patterns2ndEd/FrontController.htm
論文全文使用權限
校內
校內紙本論文立即公開
同意電子論文全文授權校園內公開
校內電子論文立即公開
校外
同意授權
校外電子論文立即公開

如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信