登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

基于Java WEB的网络聊天系统的设计与实现毕业论文

 2021-03-28 10:03  

摘 要

随着互联网不断的发展,信息沟通的成本也越来越低,如电话,手机,E-mail,QQ等层出不穷的硬件和软件,正在逐步得进入了人们的生活中,而像QQ这样的主打沟通的软件,更是成为了人手必备的生活工具。而QQ的聊天工具的架构是基于C/S模式的,即是客户端服务器的模式。还有一种目前常用的,也是最热门的架构模式就是B/S,所谓的B/S就是浏览器服务器的模式,用户只需安装一个浏览器便可以访问应用。而本次课题的主要研究方向便是基于B/S架构模式下的web网络聊天系统的设计与实现。

本次毕业设计主要是实现一个web的网络聊天系统,在后台将使用到servlet来做web系统的控制器,来处理前端发过来的发送聊天记录的请求;然后再使用jsp来动态生成聊天室界面,使用dom4j来处理和保存用户的聊天信息,使用jstl来构建用户界面。在前端开发的时候主要使用了html来对界面进行布局,同时也使用了css来对界面的样式进行设计和开发,使用ajax异步刷新聊天室,刷新聊天记录。通过本次毕业设计,通过学到如何利用j2ee来开发web应用,如何从需求分析到最后如何实现整个完整web应用,学会如何去开发一个完整的项目。

关键词:B/S架构;C/S架构;网络聊天系统;J2EE

Abstract

With the continuous development of the Internet, the cost of information communication is getting lower and lower, such as telephone, mobile phone, E-mail, QQ and other endless hardware and software, is gradually getting into people's lives, and QQ like the main Communication software, but also become a necessary staff life tools. The QQ chat tool architecture is based on the C / S mode, that is, the client server model. There is also a commonly used, but also the most popular architecture model is B / S, the so-called B / S is the browser server model, users only need to install a browser can access the application. The main research direction of this topic is based on the B / S architecture model of web network chat system design and implementation.

The graduation design is mainly to achieve a web of the network chat system, we will use the servlet in the background to do the web system controller, to deal with the front-end sent to send the chat record request; and then we use jsp to dynamically generate a chat Room interface, use dom4j to handle and save the user's chat information, use jstl to build the user interface. In the front-end development, I mainly use the html to the interface layout, but also the use of the css to the interface design and development, the use of ajax asynchronous refresh chat room, refresh chat records. Through this graduation design, I hope to achieve the purpose is to learn how to use j2ee to develop web applications, how to analyze from the needs of the final to complete the entire web application, learn how to develop a complete project.

Key words: B/S architecture; C/S architecture; Network chat system; J2EE

目 录

第1章 绪论 1

1.1 研究背景及意义 1

1.2 工作内容简介 2

1.2.1 主要技术学习阶段 2

1.2.2 实践操作阶段 3

第2章 关键技术与开发环境 4

2.1 何为java 4

2.2 何为jsp 4

第3章 系统的设计与实现 6

3.1 web聊天室需求分析 6

3.1.1 功能需求 6

3.2 web聊天系统概要设计 7

3.2.1 web聊天室系统流程 7

3.2.2 各个模块功能一览表 9

3.2.3 web聊天室主界面的设计 10

3.3 web聊天室系统详细实现 11

3.3.1 登陆模块实现 11

3.3.2聊天室功能实现 15

第4章 软件测试 26

4.1 软件测试概述 26

4.2 本系统测试方案 26

总结展望 33

参考文献 34

致 谢 35

第1章 绪论

1.1 研究背景及意义

二十世纪初,互联网的兴起,越来越多的应用市场开始进入到了人们的生活。在最近的十几年里,1998年左右,QQ的出现使得网上聊天变得火热起来,然后使得像聊天室这样的交流方式也被大众所认可。通过聊天室的在线聊天逐渐成为了网络上人们沟通、交流和联系的一种方式,于是越来越多的网站开始提供在线聊天的功能。正因如此,聊天室以其方便、快捷和低成本的优势受到了众多企业的青睐,很多企业在网站中纷纷加入了聊天室,以达到增进企业和消费者之间、消费者和消费者之间相互沟通互动和联系的目的[13]

就最近几年的时间里,计算机的高速发展离不开网络这一方向,网络也在大大的扩展计算机的功能,我们通过研究计算机网络方面的技术和应用,通过挖掘计算机的网络潜能,将能够很大程度的提高自己对计算机的认识,同时也能加深自己对计算机网络的认识。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图