基于java的实时聊天系统.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于java的实时聊天系统.doc

随着当今互联网迅速蓬勃的发展,网络即时聊天工具已经成为一种必不可少 的信息交流工具,受到越来越多人的青睞,人们可以利用网络通信技米进行即时 的信息交流。当下,网络上已经拥有很多非常不错的聊天工具,其中众所周知且 应用广泛的有腾讯QQ、Netmeeting、MSN-Messager、阿里旺旺等等,这些就 是利用网络通信技术开发的网络聊天工具。 本系统的开发主要包括一个局域网络聊天服务器以及一个局域网络聊天客 户端两个方面。服务器基于Socket技米建立服务器,服务器可以读取、转发来 自于客户端的信息,并能查看、刷新用户列表。客户端通过与服务器建立连接, 来进行信息交流,其中使用了局域网通信机制的原理,直接继承Thread类来实 现建立多线程。幵发中利用了客户端/服务器端模式(Client/Server模式)、TCP/IP 协议、网络编程的设计方法等。在编程中利用流来实现信息的交换,对信息进行 读取和发送。 经过分析这些情况,该聊天工具采用java语言并以MyEclipse8.5为基本开 发环境进行编写,可在短时间内建立系统框架原型,并且对原型系统进行不断的 修正和改进,直到形成完善的可行系统。 关键词:即时通讯系统;局域网聊天;MySQL数据库;套接字技术 JAVA-based real-time chat system Abstract With todays rapid and successful development of the Internet,network chat tool has become an necessary information exchange tools,favored by more and more people can use real-time network communication technology for information exchange. Today,the network already has a lot of good chat tools,they are well known and widely used (E.g. Tencent, Netmeeting, MSN-Messager and Aliwangwang). This system is developed by network communication technology. Developments of this system include a local network chat servers and a local network chat client. The server is based on Socket technology,it can be read,forwarded the information from the client,and can Check,refresh the list of users. Through the establishment of the client and the server connection to exchange information,which uses the principle of local area network communication mechanism, the direct successor to the Thread class to achieve the establishment of multi-threading. In the development, Development in the use of various technologies,such as client / server mode (Client / Server mode), TCP / IP protocol,network programming design methods and so on. In the network programming, it uses streams to realize the exchange of information, read and send information. After analysis of these cases,this chat tool using java language and MyEclipse8.5 basic development environment to program. It can build a prototype system framework in short time,and co

文档评论(0)

ggkkppp + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档