- 36
- 0
- 约1.04万字
- 约 20页
- 2016-12-19 发布于安徽
- 举报
滨江学院 学年论文(设计) 题 目 基于java的局域网聊天系统 院 系______ 滨江学院_________专 业_______网络工程_________学生姓名____ 张涛____________ 学 号________20108346050_____指导教师______ 陈宁军__________职 称_________老师 ________ 二O 13 年 12 月 4 日 摘 要现在社会,网络技术得到了空前的发展,我们在生活中无处不需要网络,网络的兴起同时有带动了网络通信软件的发展,譬如,国外的软件facebook,Skype等聊天工具、国内的腾讯公司旗下的QQ,微信聊天系统以及阿里巴巴的阿里旺旺聊天软件,还有歪歪,陌陌等等。由于java语言也具有强大的网络编程功能,我本次毕业论文就是使用Java语言编写一个局域网内的聊天系统。该系统是基于java语言开发的,采用了面向对象的设计原则技术进行开发。采用C/S设计结构,不同的客户端之间以及一个客户端与服务器端之间的通讯都是通过java提供的类Socket完成。我使用了比较流行的破解版MyEclipse开发工具进行编写,我的数据库管理系统用的是Mysql数据库,因为它适合中小型数据的存储。在服务器端实现过程中,我采用了多线程技术。此聊天系统实现后将可以支持多人对多人进行聊天,本系统对用户只提供了注册的功能,一旦注册成功就可以和已登录的其它用户进行实时的聊天,发送消息、接受消息等等功能,而对用户的删除操作我把它给了一个专门的管理员用户,负责管理用户。关键字:多线程 ;客户机/服务器 ;JAVA ; Socket ; MyEclipse ; c/sAbstractNow social networking technology has been an unprecedented development, we need to network everywhere in life, while the rise of the network led to the development of network communication software , for example, foreign software facebook, Skype and other chat tools, domestic Tencent s QQ, chat systems, and micro-channel Alibaba Aliwangwang chat software , as well as crooked , unfamiliar street and so on. Since the java language also has a strong network programming, I use this thesis is written in the Java language a LAN chat system.The system is based on the java language development , using the object-oriented design principles of technology development. Using C / S design structure, class, communication between different client and a server between the client and are provided by java Socket complete. I used a cracked version of the more popular MyEclipse development tools to write, my database management system using Mysql database because it suitable for storing small and medium data. On the server side implementation process, I used a multi-threading technology.This chat system will be able to support people to achieve more than chat , the system provides only for the registered user features, Once registered you can login and other users in real-ti
原创力文档

文档评论(0)