文档介绍:云南爱因森软件职业学院
学生毕业设计(论文)
基于C/S架构的JAVA聊天室
研究与实现
设计小组:
分院: 信息工程学院
专业: 计算机软件技术
年级:
班级: 软件技术五班
学号:
姓名:
指导教师:
职称: 讲师
2010年10月30日
云南爱因森软件职业学院教务处
摘要
网络聊天室是一种应用广泛网络聊天方式,操作简单,功能丰富,是教学和学习面向对象的编程思想的理想项目。可以使用多种编程语言设计和开发出功能完善的网络聊天室。
随着互联网的迅猛的发展,网络逐渐成了人们获取信息的主要途径。做为传统的信息交流工具e-mail,因为其发送和接受消息时间相对滞后的缘故,不能满足人们迅速获取信息的要求。即时通讯应运而生,为大众提供了一种崭新的综合的信息交流平台。即时通讯不同于传统的通讯工具e-mail,在于它的交流是实时的,使得人们交流更加便捷和快速,满足了人们迅速获取信息的需求,所以深受大众的喜爱,有着很好的发展前景。其中聊天软件就是即时通讯的具体实现。
本毕业设计论文介绍用JAVA语言设计和实现一个C/S架构网络聊天室的过程,本系统采用C/S架构设计,整个项目分为服务器端和客户端;利用Socket网络开发技术实现客户端和服务器端的连接访问,实现网络功能;通过对数据流操作的合理设计,实现信息传递、接受和数据保存。同时,采用多线程、多任务的设计思想,开发出性能稳定,功能全面的服务器。完整的实现系统的功能。
通过本次毕业设计可以学到如何应用和实现面向对象的各种方法,如何使用Eclipse集成开发环境来创建和开发项目,从而完成系统的完整开发。
关键词:Java C/S架构套接字(Socket) 多线程聊天室
Abstract
Network chat room is a widely work chat mode, simple operation, the function is rich, is teaching and learning object-oriented programming ideas ideal project. Can use a variety of programming language designed and developed the function is work chat rooms.
Along with the rapid development of , network gradually became people obtain information the main way. As the traditional munication tool E-mail, because the sending and receiving messages time relative lag's sake, cannot satisfy people quick access to information requirements. Instant messaging arises at the historic moment, providing a prehensive platform for the exchange of information. Instant messaging is different from munication tools E-mail, lies in munication is real-time, makes municate more convenient and fast, satisfying the people quick access to information needs, so deeply popular love, has the very good prospects for development. Among them is instant messaging chat software implementation.
This paper introduces the graduation design in JAVA language design and realization of work chat room of the process, the system USES the C/S architecture design, the whole project is divided into the server and client, Use Socket web development technology to achieve the clie