基于JAVA实现聊天室范文.doc

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于JAVA实现聊天室 PAGE 巢湖学院毕业设计(论文) PAGE I 基于JAVA实现聊天室 摘 要:随着时代的发展,时间、信息两个概念显得越来越突出。在第一时间掌握第一手资料,是打败对手取得成功的秘诀。伴随着计算机网络技术的迅速发展,通信业也蒸蒸日上。现在个人电脑已普及到各个家庭、单位中。为了能实时、准确地实现与朋友、亲人、同事之间的联系,网络聊天是一种比较经济实惠的途径,其发展前景可观。 本系统利用Java中的socket网络编程和多线程技术实现。主要包括登陆连接、服务器管理、客户聊天三大功能。管理员和用户经过登陆界面分别进入到服务器端和客户端,客户通过socket连接服务器,服务器通过多线程技术转发信息到其他客户端。这种服务器集中转发信息的优点是通信稳定,缺点是增加了服务器端的负担。 传统的面对面之间的交流由于受地域和时间的影响,已经满足不了当今社会的需求。利用聊天室这种影响将会降到最小,人与人之间的交流将会更加方便、快捷,可以大幅度提高人们的交流效率。 关键词:聊天室;Java;socket;多线程;C/S The Design and Implementation of ChatRoom Based on JAVA *** (Department of Computer Science and Technology , ChaoHu College , ChaoHu , AhHui, 238000) Abstract:With the development and progress of the times, the concept of time and information become more and more outstanding. And the winners will be the ones who first grasp the firsthand data. As the internet technology is developing rapidly, the communications industry is thriving too. Personal computers are extensively spreading among all families and units. In order to communicate with family members, friends and workmates accurately but on real time, chatting on net is one of the more economical and substantial ways, which has a favorable prospect. This system takes effect by socket network program of Java and multi-thread,It has three main functions of login, servers manage and chatting. The administrator and user log on server-side and client-side separately by the login box. The clients connect themselves to servers through the socket, then the servers send these messages to other clients by multi-thread. The advantage of forwarding informations centrally results in a stable communication, but its weakness leads to a burden to the server-side. Traditional face-to-face communication is restricted by time and region, which can not meet the demands of modern society. Chatting room can reduce the influence above to the minimum, and the communication among people will be more convenient and quick, the intercourse effic

文档评论(0)

好老师 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档