- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
本科毕业论文
(科研训练、毕业设计)
题 目:基于JAVA的UAW聊天室系统
——Server端的设计与实现
姓 名:
学 院:软件学院
系:
专 业:软件工程
年 级:
学 号:
指导教师(校内): 职称:
指导教师(校外): 职称:
年 月 日
基于JAVA的UAW聊天室系统
—— Server端的设计与实现
[摘要] 随着Internet的发展,在Email、WWW等应用日益成熟的同时,在线实时的需求不断扩大。用JAVA开发的弥补了纯文本非实时的不足,既增加了形象性,又加强了交互性UAW (Up Against the Wind),基于JAVA实现,是一个C/S模式的聊天室系统,包括服务端和若干客户端,客户端之间通过向服务端发送消息,进而由服务器端进行信息的分类并发送到客户端,从而实现聊天。本文主要解决UAW服务器模块的设计与实现,从它的扩展性入手,设计出聊天室系统的程序框架。在通讯技术中,选用Socket通讯机制实现客户端与服务器端的信息交换,简化了网络中的技术细节,方便可行。JAVA Socket 多线程
ABSTRACT With the development of Internet, while Email. WWW, etc. used maturely day by day, more and more network users are expanding the demand for the on-line real-time communication system. The chat room system based on JAVA, supplies a gap to the communication system with the properties of pure-text and non-real-time, not only increasing the image feel but also strengthening the interaction.
UAW (Up Against the Wind), based on Java, is a chat room system of C/S mode, including a server end and several client ends. Between the client ends, they deliver messages through the server, which carry on classification of information and then send relevant messages to correct receivers. It is a simple process of services provided by chat room. This study mainly solves the problem to the design and implementation of server module of UAW, and proceeding with its expansion, designs the procedure frame of the chat room system. Among communication technologies, select Socket communication mechanism to implement information exchange between server end and client end and adopt multi-thread mechanism, each thread corresponding to each customer end, which simplify technological details inside the network. In addition, as server, the functions that the chat room system should possess is necessary, such as log-in , private chatting , common chatting, shielding user , tabulating online users , counting online users , changing room , withdraw ,etc.
Key Words Char Room
文档评论(0)