基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)

上传人:jiups****uk12 文档编号:40361742 上传时间:2018-05-26 格式:DOC 页数:31 大小:701.50KB
返回 下载 相关 举报
基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)_第1页
第1页 / 共31页
基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)_第2页
第2页 / 共31页
基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)_第3页
第3页 / 共31页
基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)_第4页
第4页 / 共31页
基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)_第5页
第5页 / 共31页
点击查看更多>>
资源描述

《基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)》由会员分享,可在线阅读,更多相关《基于JAVA局域网聊天软件-毕业论文好sqlserver(含源文件)(31页珍藏版)》请在金锄头文库上搜索。

1、- 1 -本科毕业论文(毕业设计)本科毕业论文(毕业设计)题目题目:局域网聊天软件局域网聊天软件系系 院:院: 学生姓名:学生姓名:学学 号:号: 专专 业:业:年年 级:级: 完成日期:完成日期: 指导教师:指导教师: - 2 -摘摘 要要在网络越来越发达的今天,人们对网络的依赖越来越多,越来越离不开网络,由此而产生的聊天工具越来越多,例如,国外的 ICQ、国内腾讯公司开发 的 OICQ。基于 Java 网络编程的强大功能,本次毕业设计使用 Java 编写一个聊 天系统。一般来说,聊天工具大多数由客户端程序和服务器程序外加服务器端用于 存放客户数据的数据库组成,本系统采用客户机/服务器架构模

2、式通过 Java 提 供的 Socket 类来连接客户机和服务器并使客户机和服务器之间相互通信,由于 聊天是多点对多点的而 Java 提供的多线程功能用多线程可完成多点对多点的聊 天,数据库管理系统用 SQL Server2000 完成并通过 JDBC-ODBC 桥访问数据库。本系统建立在 JAVA 平台上,系统的设计使用了面向对象技术和面向对象的 设计原则。系统采用 C/S 结构,客户端与客户端以及客户端与服务器端之间通 过 Socket 传送消息。使用 JAVA 语言编写,开发工具采用 Eclipse。服务器端 设计与实现过程中,采用了多线程技术,可以在单个程序当中同时运行多个不 同的线程

3、,执行不同的任务。大大增强了程序对服务器资源的利用。 聊天系统完成后将可进行多人对多人的聊天,对好友进行添加、删除,对 新用户的注册,发送消息、接受消息等等功能。关键字:多线程 ;客户机/服务器 ;JAVA ; Socket ; Eclipse ; TCP/IP- 3 -Abstractas 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 material

4、s 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

5、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 th

6、e 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 platf

7、orm, 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 ser

8、ver-side process, the use of multi-threading technology, which can process in a single run at the same time a number of different threads, the implementation of different tasks. Procedures greatly enhanced the use of server resources. Chat system will allow people to complete chat to more friends,an

9、d the system can add, delete somebody,can deal with new user registration, send messages, receive messages and so on. Keywords : Multithreading ; Client/Server ;JAVA ;Socket ;Eclipse ;TCP/IP- 4 -目目 录录1 绪论绪论.11.1 国内外聊天系统的研究现状.1 1.2 JAVA语言.2 1.2.1 Java 的发展历史.2 1.2.2 Java 的特点.3 1.2.3 Java 与 Internet.4 1.3 SOCKET编程.4 1.3.1 关于 TCP/IP 协议.4 1.3.2 服务器和客户机.5 1.4 本文内容安排.62 需求分析需求分析.72.1 可行性研究.7 2.1.1 可行性分析.7 2.1.2 系统功能需求.7 2.1.3 系统性能需求.8 2.1.4 系统运行需求.8 2.2 数据流图.8 2.2.1 顶层数据流图.8 2.2.2 一层数据流图.9 2.2.3 二层数据流图.93 概要设计概要设计.113.1 系统实现原理.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号