- 1、本文档共31页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE
word文档 可编辑
局域网聊天软件
摘 要
在网络越来越发达的今天,人们对网络的依赖越来越多,越来越离不开网络,由此而产生的聊天工具越来越多,例如,国外的ICQ、国内腾讯公司开发的OICQ。基于Java网络编程的强大功能,本次毕业设计使用Java编写一个聊天系统。 一般来说,聊天工具大多数由客户端程序和服务器程序外加服务器端用于存放客户数据的数据库组成,本系统采用客户机/服务器架构模式通过Java提供的Socket类来连接客户机和服务器并使客户机和服务器之间相互通信,由于聊天是多点对多点的而Java提供的多线程功能用多线程可完成多点对多点的聊天,数据库管理系统用SQL Server2000完成并通过JDBC-ODBC桥访问数据库。
本系统建立在JAVA平台上,系统的设计使用了面向对象技术和面向对象的设计原则。系统采用C/S结构,客户端与客户端以及客户端与服务器端之间通过Socket传送消息。使用JAVA语言编写,开发工具采用Eclipse。服务器端设计与实现过程中,采用了多线程技术,可以在单个程序当中同时运行多个不同的线程,执行不同的任务。大大增强了程序对服务器资源的利用。
聊天系统完成后将可进行多人对多人的聊天,对好友进行添加、删除,对新用户的注册,发送消息、接受消息等等功能。
关键字:多线程 ;客户机/服务器 ;JAVA ; Socket ; Eclipse ; TCP/IP
Abstract
as the network become more and more developed, people become more and more lean to the network, and can not leave with out it. This caused the chat materials become more numerous, as the overseas ICQ system, the OICQ system that invented by Tencent Co., and so on. So we create a network chat medium just like the QQ. Java network programming based on the power, the use of Java designed to prepare graduates a chat system.
In general, the majority of the chat tool for client and server program in addition to server-side storage of customer data for the database, the system uses a client / server architecture model the adoption of Java provided Socket class connect client and server and between the client and server communicate with each other, as the chat is to provide point-to-multipoint and multi-threaded Java function to be completed by using multi-threaded chat and more point-to-multipoint, database management system with SQL Server2000 the completion and adoption of JDBC-ODBC Bridge access the database.
The system built on the JAVA platform, the system design using object-oriented technology and object-oriented design principles. System uses the C / S structure, client and client-side and server-side client and send messages through Socket. The use of JAVA language, development tools using Eclipse. Design and Implementation of server-side process, the u
您可能关注的文档
- The Interactive English Teaching Method Based on Constructivism in Junior Middle School--英语专业毕业论文.docx
- UASB+生物接触氧化法用于啤酒废水处理的工艺设计-毕业设计说明书.docx
- 材料制备机械设计理论中的新趋势和新问题-外文文献翻译.docx
- 充电器外壳注塑模具设计-毕业论文.docx
- 初中英语兴趣教学研究-毕业论文.docx
- 大体积混凝土施工方案-毕业论文.docx
- 大型储罐焊接技术的现状与发展-毕业论文.docx
- 低品位滑石加工及其对聚丙烯力学性能影响的研究 毕业论文.docx
- 端盖冲压模具设计-毕业设计.docx
- 多用工作灯后盖注射模设计-毕业设计.docx
最近下载
- 带头严守政治纪律和政治规矩,维护党的团结统一等四个方面存在的问题与整改材料9.docx VIP
- 马尾综合征护理PPT课件.pptx
- 2024年高级统计师历年真题及答案.docx
- 2024全国各地中考数学压轴题汇编 (1).pdf
- T_CECS 662-2020 医学生物安全二级实验室建筑技术标准.pdf VIP
- DeepSeek从入门到精通 -指导手册(20250204).pdf
- 2024-2025学年小学信息技术(信息科技)四年级下册桂科版教学设计合集.docx
- 18D802:建筑电气工程施工安装.docx VIP
- 酒店上半年工作计划PPT.pptx
- 信息技术教案六年级下2014西交大版.docx
文档评论(0)