隨著軟件產(chǎn)業(yè)的不斷發(fā)展,軟件應(yīng)用的日益廣泛,軟件開發(fā)面臨著越來越多的挑戰(zhàn),
軟件危機(jī)也隨而生。軟件復(fù)用在這種背景下發(fā)展起來,并且作為解決軟件危機(jī)的有效途徑,
越來越得到廣泛的重視,目前隨著構(gòu)件規(guī)范CORBA,OpenDoc,OLE2,JavaBeans的日趨完
善,軟件復(fù)用的重點(diǎn)轉(zhuǎn)移到如何開發(fā)復(fù)用
的構(gòu)件,如何對(duì)構(gòu)件進(jìn)行管理,以及如何提高構(gòu)件的檢索效率。軟件構(gòu)件庫(kù)是軟件復(fù)用的
重要依托,它的結(jié)構(gòu)、成分和管理方式是否合理很大程度上決定著軟件復(fù)用的成功與否。
當(dāng)前,軟件界對(duì)可復(fù)用軟件構(gòu)件庫(kù)系統(tǒng)及其相關(guān)技術(shù)進(jìn)行了深入的研究,并取得不少
成果,但是,這些研究大都停留在理論研究階段,在實(shí)際中的應(yīng)用并不多,并且很少面向
Internet。
本文從軟件復(fù)用的引入及其意義、構(gòu)件庫(kù)的管理、構(gòu)件的分類、表示與檢索著手,闡
述了如何建立一個(gè)基于Web Services的構(gòu)件庫(kù)管理系統(tǒng)。系統(tǒng)采用基于微軟.NET的四層結(jié)
構(gòu),即:用戶瀏覽層、Web服務(wù)層、邏輯實(shí)現(xiàn)層、數(shù)據(jù)層。系統(tǒng)面向Internert,所有功能均
通過Web頁面完成,符合發(fā)展和共享的需求。
文章在構(gòu)件庫(kù)系統(tǒng)的構(gòu)件分類與描述方案的選擇設(shè)計(jì)中,分析了構(gòu)件的刻面分類方法,
提出采用XML技術(shù)實(shí)現(xiàn)構(gòu)件的刻面描述方案,并從技術(shù)實(shí)現(xiàn)、發(fā)展演化等方面對(duì)該方案
作了較詳細(xì)的分析,之后參照國(guó)內(nèi)外相關(guān)學(xué)術(shù)成果,結(jié)合XML技術(shù)特點(diǎn),給出了具體的
刻面設(shè)計(jì)及描述實(shí)現(xiàn),從而建立起軟件構(gòu)件庫(kù)系統(tǒng)的構(gòu)件數(shù)據(jù)模型。
論文的意義在于其給出了多個(gè)異質(zhì)構(gòu)件庫(kù)的構(gòu)件資源共享及跨Internet的構(gòu)件分布檢
索的模型。其中,Web Services是一種優(yōu)秀的分布式組件技術(shù),基于Web Services的構(gòu)件庫(kù)
管理系統(tǒng)具有良好的互操作性、平臺(tái)無關(guān)性和可伸縮性;赬ML的構(gòu)件表示與檢索技
術(shù)充分利用了XML標(biāo)記語言適合描述結(jié)構(gòu)化綜合數(shù)據(jù)的特點(diǎn)以及業(yè)界對(duì)其給予的廣泛支
持從根本上解決了構(gòu)件資源共享的困難。
最后,通過分析信息系統(tǒng)中以XML描述為基礎(chǔ)的構(gòu)件模型,給出了信息系統(tǒng)中基于
Web Services的構(gòu)件庫(kù)方案。
關(guān)鍵詞:軟件復(fù)用;構(gòu)件庫(kù);構(gòu)件分類;構(gòu)件檢索;Web Services;XML山東師范大學(xué)碩士學(xué)位論文
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. |
|