隨著軟件產業的不斷發展,軟件應用的日益廣泛,軟件開發面臨著越來越多的挑戰,
軟件危機也隨而生。軟件復用在這種背景下發展起來,并且作為解決軟件危機的有效途徑,
越來越得到廣泛的重視,目前隨著構件規范CORBA,OpenDoc,OLE2,JavaBeans的日趨完
善,軟件復用的重點轉移到如何開發復用
的構件,如何對構件進行管理,以及如何提高構件的檢索效率。軟件構件庫是軟件復用的
重要依托,它的結構、成分和管理方式是否合理很大程度上決定著軟件復用的成功與否。
當前,軟件界對可復用軟件構件庫系統及其相關技術進行了深入的研究,并取得不少
成果,但是,這些研究大都停留在理論研究階段,在實際中的應用并不多,并且很少面向
Internet。
本文從軟件復用的引入及其意義、構件庫的管理、構件的分類、表示與檢索著手,闡
述了如何建立一個基于Web Services的構件庫管理系統。系統采用基于微軟.NET的四層結
構,即:用戶瀏覽層、Web服務層、邏輯實現層、數據層。系統面向Internert,所有功能均
通過Web頁面完成,符合發展和共享的需求。
文章在構件庫系統的構件分類與描述方案的選擇設計中,分析了構件的刻面分類方法,
提出采用XML技術實現構件的刻面描述方案,并從技術實現、發展演化等方面對該方案
作了較詳細的分析,之后參照國內外相關學術成果,結合XML技術特點,給出了具體的
刻面設計及描述實現,從而建立起軟件構件庫系統的構件數據模型。
論文的意義在于其給出了多個異質構件庫的構件資源共享及跨Internet的構件分布檢
索的模型。其中,Web Services是一種優秀的分布式組件技術,基于Web Services的構件庫
管理系統具有良好的互操作性、平臺無關性和可伸縮性。基于XML的構件表示與檢索技
術充分利用了XML標記語言適合描述結構化綜合數據的特點以及業界對其給予的廣泛支
持從根本上解決了構件資源共享的困難。
最后,通過分析信息系統中以XML描述為基礎的構件模型,給出了信息系統中基于
Web Services的構件庫方案。
關鍵詞:軟件復用;構件庫;構件分類;構件檢索;Web Services;XML山東師范大學碩士學位論文
Abstract
With the continuous development of software industry,the wide use of software,
software development is now facing more and more challenges,all these lead to the
software crisis.Software reuse come up on this background.As an effective approach to solve
software crisis,software reuse is getting more and more attention,and with perfection of
component specification such as CORBA,OpenDoc,OLE2 and JavaBeans,reuse emphases
divert to how to develop reusable components,how to manage components and how to improve
the component search efficiency.Software component library is important support in implement
of software reuse.Whether or
not succeed in software reuse to a great extent depends on the structure,elements and
management of reuse component library.
At present,the software circle carries on deep research to the software component repository
system and relevant technology,and makes many achievements.But these researches are mostly
remained in the theoretical research stage.There are actually few applications in reality,and
seldom face Internet.
Embarking on the introduction and significance of software reuse,component library
management,component classification,representation and retrieval,this paper explain how to set
up a Web Services Based Component Library Management System.This system applies four-tier
architecture based on Microsoft.NET:client browse tier,web server tier,logic implement tier,
data tier.System face Internet,all functions are accomplished by web page,and accord with the
demand of sharing and developing.
At the design schema of component classification description in component library,the
faced classification method of component is analyzed,the schema through XML describe
component faced is given,and the technique implementation,development evolvement are
analyzed particularly,then the concrete faced design and description are given by referencing
home and abroad scholarship and combining the technique character of XML.Consequently,the
component data model is created in software component library system.
The meaning of this thesis is that it gives the solution for implementing sharing of
component resources and distributed retrieval of multiple heterogeneous component libraries.
Among all the techniques employed in the system,WebServices is an excellent distributed
component technique,Web Services Based Component Management system features well
interoperability,platform independence,and scalability.XML-Based component representation
and retrieval technique make full use of the characteristics of XML as a markup language suit for
describing structured and integrated data and the extensive support of XML from industry,it
solves the difficulties of sharing component resources over multiple component library.
At the end,through analyzing the XML-Based component model in the information
system,this paper explains a Web Services Based Component Library in information
system. |
|