特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

畢業(yè)論文 基于cs架構的java聊天室研究與實現(xiàn).doc

約54頁DOC格式手機打開展開

畢業(yè)論文 基于cs架構的java聊天室研究與實現(xiàn),摘要網絡聊天室是一種應用廣泛網絡聊天方式,操作簡單,功能豐富,是教學和學習面向對象的編程思想的理想項目??梢允褂枚喾N編程語言設計和開發(fā)出功能完善的網絡聊天室。隨著互聯(lián)網的迅猛的發(fā)展,網絡逐漸成了人們獲取信息的主要途徑。做為傳統(tǒng)的信息交流工具e-mail,因為其發(fā)送和接受消息時間相對滯后的緣故,不能滿足人們迅速獲取信息的...
編號:20-200213大小:986.50K
分類: 論文>計算機論文

內容介紹

此文檔由會員 ljjwl8321 發(fā)布

摘 要

網絡聊天室是一種應用廣泛網絡聊天方式,操作簡單,功能豐富,是教學和學習面向對象的編程思想的理想項目。可以使用多種編程語言設計和開發(fā)出功能完善的網絡聊天室。
隨著互聯(lián)網的迅猛的發(fā)展,網絡逐漸成了人們獲取信息的主要途徑。做為傳統(tǒng)的信息交流工具e-mail,因為其發(fā)送和接受消息時間相對滯后的緣故,不能滿足人們迅速獲取信息的要求。即時通訊應運而生,為大眾提供了一種嶄新的綜合的信息交流平臺。即時通訊不同于傳統(tǒng)的通訊工具e-mail,在于它的交流是實時的,使得人們交流更加便捷和快速,滿足了人們迅速獲取信息的需求,所以深受大眾的喜愛,有著很好的發(fā)展前景。其中聊天軟件就是即時通訊的具體實現(xiàn)。
本畢業(yè)設計論文介紹用JAVA語言設計和實現(xiàn)一個C/S架構網絡聊天室的過程,本系統(tǒng)采用C/S架構設計,整個項目分為服務器端和客戶端;利用Socket網絡開發(fā)技術實現(xiàn)客戶端和服務器端的連接訪問,實現(xiàn)網絡功能;通過對數(shù)據(jù)流操作的合理設計,實現(xiàn)信息傳遞、接受和數(shù)據(jù)保存。同時,采用多線程、多任務的設計思想,開發(fā)出性能穩(wěn)定,功能全面的服務器。完整的實現(xiàn)系統(tǒng)的功能。
通過本次畢業(yè)設計可以學到如何應用和實現(xiàn)面向對象的各種方法,如何使用Eclipse集成開發(fā)環(huán)境來創(chuàng)建和開發(fā)項目,從而完成系統(tǒng)的完整開發(fā)。


關鍵詞:Java C/S架構 套接字(Socket) 多線程 聊天室








Abstract

Network chat room is a widely used network 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 perfect network chat rooms.
Along with the rapid development of Internet, network gradually became people obtain information the main way. As the traditional information communication 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 new comprehensive platform for the exchange of information. Instant messaging is different from traditional communication tools E-mail, lies in its communication is real-time, makes people communicate 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 a network 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 client and the server connection network function; visit, Through the data flow operation of reasonable design, realization information transmission, accept, and data storage. Meanwhile, the threads, multitasking design ideas, to develop a stable performance and comprehensive functions servers. Complete the realization of the function of the system.
Through the graduation design can learn how to application and realization of object-oriented methods, and how to use the Eclipse integrated development environment to create and develop project, thus completing system integrity development.


Keyword: Java C/S server Socket multi-threading Chat room





目 錄
第一章 緒 論 1
1.1引 言 1
1.1.1聊天室開發(fā)背景 1
1.1.2系統(tǒng)可行性分析 2
第二章 系統(tǒng)開發(fā)環(huán)境與工具 4
2.1開發(fā)環(huán)境 4
2.1.1開發(fā)環(huán)境簡介 4
2.2 JAVA在C/S網絡中的運用 5
1.2.1 C/S網絡架構 5
1.2.2 客戶機/服務器 6
2.3多線程的運用 7
2.3.1線程的概述 7
2.3.2 Java的線程模型 9
2.3.3線程的優(yōu)點 9
2.4套接字(SOCKET) 10
2.4.1套接字簡介 10
2.4.2套接字的類型 11
2.5開發(fā)工具簡介 11
2.5.1 JDK (Java Development Kit) 12
2.5.2 Borland JBuilder 13
2.5.3 Eclipse 14
2.5.4 小 結 15
第三章 需求分析 16
3.1 項目概述 16
3.1.1 系統(tǒng)架構需求分析 16
3.1.2 系統(tǒng)功能需求分析 18
3.2 功能功能分析 18
3.2.1 用戶注冊模塊分析 18
3.2.2 用戶登入模塊分析 19
3.2.3 公聊模塊分析 19
3.2.3 私聊模塊分析 20
3.2.4 發(fā)送表情模塊分析 20
3.2.5 聊天記錄模塊分析 21
3.2.6 系統(tǒng)消息模塊分析 21
3.2.7 字體屬性設置模塊分析 22
3.2.8 清屏效果模塊分析 22
3.2.9 時鐘效果模塊分析 22
3.2.10 用戶退出模塊分析 23
第四章 系統(tǒng)概要設計 24
4.1 項目概要設計 24
4.1.1項目目標 24
4.1.2 運行環(huán)境 24
4.1.3 體系結構概述 24
4.2 功能設計 25
4.2.1 用戶注冊模塊 25
4.2.2 用戶登錄模塊 26
4.2.3 私聊模塊實現(xiàn) 26
4.2.4字體設置 27
4.2.5 記錄保存 27
4.2.6 系統(tǒng)消息 28
4.2.7清屏效果 28
4.2.8 時鐘效果 29
第五章 系統(tǒng)實現(xiàn)設計 30
5.1 服務器實現(xiàn) 30
5.1.1功能描述 30
5.1.1綜合設置 30
5.2客戶端注冊實現(xiàn) 34
5.2.1功能描述 34
5.2.2綜合設計: 34
5.3 登入實現(xiàn) 35
5.3.1功能描述 35
5.3.2綜合設置 35
5.4 聊天界面實現(xiàn) 37
5.4.1功能描述 37
5.4.2綜合設置 37
5.5 時鐘效果實現(xiàn) 38
5.5.1功能描述 38
5.5.2綜合設置 38
第六章 系統(tǒng)測試 42
6.1 測試舉例 42
6.1.1 測試程序登錄界面 42
6.1.2 測試程序主界面 42
6.1.3 測試程序退出 42
6.2 測試項目 43
..