资源描述:
《聊天工具设计与实现 毕业设计论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、南昌工程学院毕业设计(论文)信息工程系(院)08计算机网络专业毕业设计(论文)题目聊天工具设计与实现学生姓名班级08计算机网络技术学号2008011224指导教师完成日期2011年5月30日聊天工具设计与实现Designandimplementationofchat总计毕业设计(论文)41页表格2个插图13幅摘要越来越多的人开始通过网络进行及时的沟通和交流,聊天室应用系统是一个比较好的人们进行实时交互的工具,而最常用的就是完全基于WWW的方式,用户不需要任何定制的客户端,只需要通过访问指定的URL就可以登入聊天室和其他在线
2、的用户进行沟通。本系统主要具有用户注册、用户登录验证、用户在线显示,用户资料查看与修改、实时聊天等功能。在实现实时显示聊天内容功能时,运用了Ajax技术。使用AJAX的异步模式,浏览器就不必等用户请求操作,也不必更新整个窗口就可以显示新获取的数据。只要来回传送采用XML格式的数据,在浏览器里面运行的JavaScript代码就可以与服务器进行联系。JavaScript代码还可以把样式表加到检索到的数据上,然后在现有网页的聊天内容显示区加以显示。本系统采用Struts、JSP作为开发工具,后台数据库采用sqlserver200
3、0数据库设计,利用基于JDBC的ODBC数据库访问技术实现对数据库的各种管理操作,实现用户登录验证的功能、用户聊天的功能和显示在线聊天用户信息等功能。关键词:聊天室JDBCAjaxApplicationSessionI摘要AbstractMoreandmorepeoplebegintothroughthenetworktocommunicateandexchange,chatapplicationsystemisagoodpeopleinrealtime,andtheinteractivetoolisthemostcomm
4、onlyusediscompletelybasedonWWWway,usersdon'tneedanycustomclient,needonlythroughthevisittheURLisdesignatedcanloginchatroomsandotheronlineuserstocommunicate.Thissystemmainlyhastheuserregistration,userloginvalidation,usersonlineshows,theuserdatatocheckandmodification
5、,real-timechatetc.Function.Torealizereal-timedisplayinchatfunctionasthecontent,usingAjaxtechnology.WithAJAXasynchronousmodeof,thebrowserwilldon'tneedtowaitforusersrequestoperation,alsodon'thavetoupdatethewholewindowcanshownewdataobtained.Aslongasthetransferoftheba
6、ckandforthanXMLformatdatainthebrowser,operatestheJavaScriptcodecantocontactawebserver.JavaScriptcodecanalsoaddtothestylesheettoretrievedata,andthenintheexistingwebchatshowareatoshowthecontent.ThesystemUSESStruts,JSPasdevelopmenttools,thebackenddatabaseusingSQLserv
7、er2000databasedesign,usetheODBCdatabaseaccessbasedonJDBCdatabasetechnologytoachievevariousmanagementoperation,realizeuserlogintheverificationofthefunction,thefunctionanduserchatshowchatonlineuserinformationetc.Function.Keywords:Ajax;Application;Session;JDBC;chatro
8、omIII南昌工程学院专科毕业论文目录摘要IABSTRACTII目录III第一章绪论11.1设计的研究意义11.2研究概况及发展趋势1第二章系统设计基本原理与技术32.1SQLSERVER200032.1.1SQL简介32.1.2SQL数据库体系结构32.1.3SQL的组成42.2struts1.x简介