基于JSP的网上聊天室系统设计与实现论文.doc
文本预览下载声明
摘要
,它为广大网民提供了一种方便快捷的沟通方式。具有相同兴趣的网民虽然互不认识,但可以通过网络聊天室来交流和学习。学校里老师可以通过一个专门的网络聊天室来及时的了解学生的学习和生活,学生之间也可以通过聊天室来交流各自的学习方法。网络聊天室给人们的学习和生活带来极大的便利。本系统采用JSP作为开发工具后台数据库采用rver 2005数据库设计,利用基于JDBC的ODBC数据库访问技术实现对数据库的各种管理操作,实现聊天室的聊天功能和显示在线聊天用户信息等功能。
关键词:聊天室,JSP,JDBC,ODBC数据库访问技术, rver 2005
ABSTRACT
With the Internet becoming increasingly popular,it is not merely the exchange of mobile phones and ordinary phones and other communication tools, and more via the Internet to achieve the mutual exchange of. Internet chat rooms as a very popular among online communication tools, it provides a vast number of Internet users convenient and efficient means of communication. Internet users have the same interest though do not know each other, but via the Web chat rooms to exchange and learning. School teachers through a network of chat rooms devoted to a timely understanding of learning and life, students can also chat rooms to share their learning. Internet chat rooms to peoples learning and the convenience of a great life.
The system uses JSP as the development tools, back-end database using SQL Server 2005 database design, use of JDBC-ODBC-based database access technology for database management operations, the realization of the chat room chat online chat function and shows features such as user information.
KEYWORDS:chatroomdatabase access technology ODBC;SQL Server 2005
目录
摘要 I
ABSTRACT II
第1章 绪论 1
1.1 背景 1
1.2 研究内容 2
第2章 系统开发环境 4
2.1系统环境 4
2.2开发工具介绍 4
2.2.1 Myclipse介绍 4
2.2.2 Dreamweaver8 5
2.2.3 SQL Server 2005介绍 5
2.3 系统开发技术介绍 6
2.3.1 JSP技术 6
2.3.2 JavaBean组件技术 6
2.3.3数据库访问技术分析 7
2.3.4 Servlet技术 8
2.3.5 SQL语句简介 8
第3章 数据库设计 10
3.1 需求分析 10
3.2 概念结构设计 10
3.2.1 概念模型 10
3.2.2 数据流图 11
3.2.3 数据字典 11
3.3 逻辑结构设计 13
3.3.1 数据模型 13
3.3.2 模块结构 13
3.4 数据库安全性和完整性 14
3.4.1 数据库的安全性 14
3.4.2 数据完整性 15
第4章 系统设计与实现 16
4.1 数据库通用管理模块 16
4.2用户登录和注册模块 19
4.2.1登录界面 19
4.2.2登录信息后台处理页面 19
4.2.3封装功能的JavaBean 21
4.3聊天室模块 22
4.3.1聊天房间选择页面 23
4.3.3封装选择聊天室的JavaBean组建 24
4.4聊天界面 27
4.4.1用户发送消息页面 27
4.4.2在线用户列表模块 29
4.3
显示全部