- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于Java聊天室程序设计
基于Java聊天室程序设计
CHAT ROOM PROGRAMMING BASED ON JAVA
专 业: 计算机科学与技术
姓 名: 指导教师姓名:
申请学位级别: 学 士
论文提交日期: 学位授予单位: 天津科技大学
摘 要
网络聊天室是一种应用广泛的网络聊天方式,操作简单,功能丰富,是教学和学习面向对象的编程思想的理想项目。可以使用多种编程语言和开发功能完善网络聊天室。
本毕业设计论文介绍用Java语言设计和实现一个网络聊天室的过程,本系统采用C/S架构设计,整个项目分为服务器端和客户端。使用最新Java2标准Swing组件,开发出简洁美观和布局合理的用户和服务器界面;利用Socket网络开发急速实现客户端和服务器端的连接访问,实现网络功能;通过对数据流操作的合理设计,实现信息传递、接受和数据保存。同时采用多线程、多任务的设计思想开发出性能稳定,功能全面的服务器。完整的实现系统的功能。该聊天室工具主要解决了两方面的问题。服务器端和客户端。在服务器端可以实现如下功能:能够处理用户的注册;通过身份验证方式处理用户登录;可以向所有在线用户广播信息;对于不良聊天人士给予警告或者赶出聊天室;删除长久不使用的用户信息;配有操作文档;及时接收用户的服务请求帮助。在客户端可以实现如下功能:聊天信息的传输,支持私聊支持表情等功能。
关键词:聊天室; Java; Swing组件; Socket技术
ABSTRACT
The network chat room is a kind of applied extensive network chat method, operate in case and the function is abundant, It can be used as a good case for learning of Java design language and the Object-Oriented Programming language, There is many programming language of design to develop a network chat room with perfect function.
This graduation thesis of design introduction how to use the Java language design and carry out network chat room, The system adoption the C/S structure design, the whole system is divided into the server and client. Used standard modules of Swing of latest Java2, develop a simple and direct beauty user interface, We make use of the Socket technology to interconnect the server and client by net-work; organize the data by good design of data stream to sent or accept the message between users and to record the message for data ever; we also use the multi-thread to make the program with many function.
This chat room’s tool will solve two main problems, one is server and the other is customer. It will obtain following functions with server: handing the registration of customer; passing verification of body method; processing customer logging; broadcasting information to on-line customers; warning and evicting bad chat personage out of chat ro
文档评论(0)