郭真祥臺灣大學:工程科學及海洋工程學研究所曹昌湋Tsao, Chang-WeiChang-WeiTsao2007-11-262018-06-282007-11-262018-06-282004http://ntur.lib.ntu.edu.tw//handle/246246/51030本研究針對聯合船舶設計中心所提供的台北艦的設計資料,建構XML的DTD 及 XML Schema 檔,定義可以表示台北艦整艦維修資料的標籤,並依此標籤定義檔及台北艦的設計資料撰寫XML資料檔案。本研究並以JAVA平台軟體技術建構一三層式網路系統,將所撰寫的台北艦維修資料以網路查詢的方式提供使用者使用。三層式網路系統含前端的網站伺服程式微軟的瀏覽器,中間的應用伺服程式是 Apache Tomcat 及後端的原生型XML資料庫系統使用 Apache 的 Xindice 資料庫伺服程式。同時並以微軟.NET Framework 建構網路應用程式,使用ASP.NET和關連式資料庫SQL Server 2000來做為比較。The DTD of XML and XML Schema of ship designed products are defined in this study. The defined tags are based on the designed data provided by the United Ship Design and Development Center. The defined tags can be used to organize the whole product of ship for their life cycle. And, the XML file is created based on the defined tags and data provided by USDDC. A three-tiers web browsing system of JAVA platform is setup to provide the query of the ship’s product. The front tier of the software system is the Internet Explorer of Microsoft. The middle tier is the application server of Apache Tomcat. And, the data tier is the Apache Xindice which is a native XML database server. The ASP.NET and Relational Database SQL Server 2000 of the Microsoft.NET Platform were also setup to make competing with the Java Platform.目 錄 致 謝 一 摘 要 二 Abstract 三 目 錄 四 表 目 錄 六 圖 目 錄 七 第一章 緒論 1 1.1. 研究背景和動機 1 1.2. 研究目標和方法 2 1.3. 論文架構 2 第二章 船舶生命週期維修之分析 4 2.1. 產品生命週期管理 4 2.2. 船舶生命週期維修系統. 5 2.3. 船艦維修方式的研究 7 2.4. 船舶生命週期維修網路服務架構 8 2.4.1. J2EE 的軟體架構 8 2.4.2. .NET 的軟體架構 8 第三章 以XML為基礎建置維修網路服務之研究 10 3.1. XML相關技術簡介 10 3.1.1 XML 10 3.1.2 DTD與SCHEMA 11 3.1.3 JDOM 11 3.2原生型XML資料庫 15 3.2.1 XML資料庫的種類 15 3.2.2原生型XML資料庫的特性 16 3.2.3 Apache Xindice原生型XML資料庫 18 3.3建置台北艦XML整船資料 19 3.3.1 定義整船資料DTD和Schema 19 3.3.2 台北艦的XML資料檔 22 3.4船舶生命週期網路軟體系統 23 3.4.1 船舶生命週期軟體系統的架構 23 3.4.2船舶生命週期軟體系統的實作 24 3.4.3 船體資料的查尋和修改 28 3.4.4 Xindice資料庫管理 30 第四章 以.Net架構應用於維修網路服務之研究 33 4.1 ASP.NET 33 4.2 ASP.NET網頁資料庫應用系統架構 35 4.2.1資料提供者 35 4.2.2應用系統架構 37 4.3網路維修服務應用系統實作 38 4.3.1 以MVC架構來設計網頁使用介面 39 4.3.2 以Adapter Pattern 來實作資料庫存取架構 40 4.3.3設計單一存取介面提供給系統使用 43 4.3.4 規劃網站架構 45 4.4 資料庫實作應用比較 46 第五章 結論與建議 48 5.1 結論 48 5.2 建議 48 參考文獻 49 附 錄 52 附錄A 整船資料標籤定義Schema 52 附錄B 整船資料標籤定義DTD 56 附錄C以.Net架構應用於維修網路服務參考資料 59en-US設計模式原生型XML資料庫Native XML DatabaseDesign PatternXindice船舶生命週期維修軟體核心技術之研究Study on the Core Software Technology of Ship Product Life Cycle Supportthesis