資源描述:
《局域網(wǎng)聊天系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、北方民族大學(xué)學(xué)士學(xué)位論文論文題目:局域網(wǎng)聊天系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)院(部)名稱:計(jì)算機(jī)科學(xué)與工程學(xué)院學(xué)生姓名:學(xué)號(hào):專業(yè):軟件工程指導(dǎo)教師:北方民族大學(xué)教務(wù)處制47摘要隨著互聯(lián)網(wǎng)的不斷進(jìn)步和發(fā)展,網(wǎng)絡(luò)通信在人們的生活中占據(jù)著越來越重要的地位。網(wǎng)絡(luò)聊天工具已在不斷更新?lián)Q代,越來越多的聊天工具都有著很多的廣泛的應(yīng)用。對(duì)于人們,網(wǎng)上即時(shí)聊天已成為一種相互溝通的重要方式,網(wǎng)絡(luò)上購物更是一種方便生活的理想選擇。本文通過對(duì)客戶端/服務(wù)器與瀏覽器/服務(wù)器架構(gòu)的特點(diǎn)進(jìn)行分析,再結(jié)合系統(tǒng)的實(shí)際情況考慮,采用一種全新的C/S與B/S混合模式架構(gòu)對(duì)局域網(wǎng)聊天系統(tǒng)
2、進(jìn)行設(shè)計(jì),簡要介紹了系統(tǒng)的每個(gè)功能模塊的設(shè)計(jì)與實(shí)現(xiàn)。本系統(tǒng)采用Java語言,在myEclipse工具上開發(fā),采用Oracle11數(shù)據(jù)庫來對(duì)數(shù)據(jù)進(jìn)行支撐。在聊天子系統(tǒng)中,采用java中Socket強(qiáng)大的網(wǎng)絡(luò)編程功能,是實(shí)現(xiàn)客戶端與服務(wù)器端相互通信的橋梁;采用IO流來對(duì)數(shù)據(jù)的傳輸與訪問;用Java提供的多線程功能實(shí)現(xiàn)點(diǎn)對(duì)點(diǎn)與點(diǎn)對(duì)多聊天。在Web前端子系統(tǒng)和Chat后臺(tái)管理中,采用Strut2框架來實(shí)現(xiàn)系統(tǒng)的業(yè)務(wù)邏輯,使用強(qiáng)大功能的OGNL標(biāo)簽來對(duì)參數(shù)進(jìn)行傳遞;采用Hibernate框架來對(duì)數(shù)據(jù)庫進(jìn)行操作,它的對(duì)象/關(guān)系數(shù)據(jù)庫映射特點(diǎn),在使
3、用時(shí)只需要操作對(duì)象,使得開發(fā)更具有對(duì)象化。局域網(wǎng)聊天系統(tǒng)的實(shí)現(xiàn),意味著一個(gè)具有聊天、購物、后臺(tái)管理的多功能系統(tǒng)的完成。【關(guān)鍵字】局域網(wǎng)聊天系統(tǒng),購物,java,socket,框架47ABSTRACTWiththeprogressanddevelopmentoftheInternet,networkcommunicationinthelifeofpeopleoccupiesamoreandmoreimportantposition.Networkchattoolhasbeenconstantlyupgrading,moreandmore
4、chattoolhasalotofwidelyused.Forpeople,onlineinstantmessaginghasbecomeanimportantwaytocommunicate,shoppingontheInternetistheidealchoiceforaconvenientlife.Basedonclient/serverandbrowser/serverarchitectureisanalyzed,thecharacteristicsoftheactualsituationofcombiningsystemco
5、nsidering,usinganewkindofC/SandB/SmixedmodearchitectureforLANchatsystemdesign,thispaperbrieflyintroducesthesystemdesignandrealizationofeachfunctionmodule.ThissystemUSESJavalanguage,themyEclipsedevelopmenttools,theOracle11databasetosupportdata.Inchatsubsystem,usingJavaSo
6、cketinthepowerfulnetworkprogramming,istherealizationofclientandserverasabridgetocommunicatewitheachotherAdoptingtheIOstreamstothedatatransmissionandaccess;Withthemulti-threadedfunctionalityprovidedbytheJavaimplementationpointtopointandpointtochatmore.IntheWebfront-endsu
7、bsystemandChatbackstagemanagement,adoptingStrut2frameworktoimplementthebusinesslogicofthesystem,usingthepowerfulfunctionofOGNLtagtopassparameters;UsingHibernateframeworktothedatabase,object/relationaldatabasemappingcharacteristicsofit,whenusingonlyneedactionobject,maked
8、evelopmenthasmoreobjectivity.LANchatsystem,meansthatamulti-functionchat,shopping,backgroundmanagementsystem.【K