
基于J2EE的BBS论坛的设计与开发—计算机毕业设计(论文).doc
35页大学毕业论文基于J2EE的BBS设计与开发专业名称:计算机科学与技术班 级: 学生姓名: 指导老师: 完成时间: 摘要近些年来,随着计算机的普及与发展,“Internet” 一词已经让我们不 再感到陌生,随着EI3寸代的到来,新的理念和结构也在不断的形成和完善, 计算机网络技术的发展对人类技术史的发展产生了不可磨灭的深远影响 计算机网络技术的发展推动了人类的科学技术的发展,同时给人们的学习, 工作和生活带来了诸多的好处,特点主要体现在以下几个方面:快捷性、自 由性、开放性、互动性、创新性伴随着计算机网络技术的迅猛发展和广 泛应用,人类进入了全新的网络经济时代信息化、数字化、全球化、网络化应是21新世纪人类社会的重要特征, 其中,以计算机网络迅猛发展而形成的网络化则是推动信息化、数字化和 全球化的基础和核心计算机网络技术的发展将以其融合一切现代先进信 息技术的特殊优势而在21世纪形成一场崭新的信息技术革命,并进一步推 动社会信息化和知识经济的发展而计算机网络系统和相关技术也必将在 21世纪社会信息化和知识经济浪潮中更快更大的发展基于J2EE的BBS论坛系统是在网络环境的支持下,支持用户进行发表 文章、互通邮件、实时对话等功能的先进模式,BBS作为一种简便、松散、 充满个性的现代电子远程通讯手段,现在在国内得到广泛的应用。
BBS论坛 是互联网上很常见的一种实时动态的交流平台本系统使用Sun公司倡导的JSP作为开发工具,Access为后台数据库, 构建一个小型的基于J2EE的BBS论坛系统,从功能需求到框架规划再到数 据库设计,最后编写代码本系统的日的是使网友们在论坛上可以就感兴趣的话题进行探讨,BBS 论坛的开拓了互联网时•代人们的精神空间,从某种程度上大大拉近了人们 之间的距离相信很多人对BBS论坛早已不陌生,本人也是诸多BBS论坛 上的忠实成员之一本系统使用连接池访问数据库,一个数据库连接可以被很多应用程序 实例共亨,应用程序无需在每次与数据库交互时都进行连接和断开操作, 从而大大提高了访问数据库的效率关键字:网络;BBS论坛;JSPAbstractNearer in the last years, along with the universality and developments of the computer/1 Internet11 has already let us no longer feel unfamiliar, along with the ages of E, new principle and structure also in the continuous formation and perfect, technical development of the calculator network to mankind the development of the technique history produces profound influence that cant obliterate. The technical development of the calculator network pushed the technical development of the mankinds science, studying for people at the same time, the work and life brought many advantages, the main body of characteristics is as follows now a few aspect: fast, freedom, open, interaction, innovation. Accompany with the technical fast fierce development and extensive applications of the calculator networks, the mankind entered the new network for economic ages.Information-based, the numeral turn, the globalization, network turn should be 21 social important characteristic of mankind of new century, among them, turn with the fast fierce development but formative networks of the calculator networks to then push information-based, the numeral turn and the foundation and the core of the globalization. The technical development of the calculator network will blend the technical and special advantage of the whole modern and advanced information with it but become a brand-new information technique revolution in 21 centuries, and the further push is social information-based and the development of the knowledge-based economy. And the calculator network system and related technique also necessarily will sooner larger development in the society of 21 centuries information-based and the knowledge-based economy Wave tide.Is under the support of the network environment according to the J2EE the BBS forum system, support customers carry on announce the article, mutual communication mail, solid hour to have a conversation etc. function of advanced mode, the BBS be a kind of simple, lax, be filled with the modern electronics long range communication means of the character, get the extensive application in the domestic now. The forum of BBS is an Internet up very familiar of a kind of solid hour dynamic state of exchanges terrace.This system uses the JSP that the Sun company initiate conduct and actions development tool, Access for the backstage database, set up a small scaled according to J2EE the BBS forum system, program from function request to the frame again arrive database design, end plait write the code.The purpose of this system makes the net friends be able to carry on the study for the interested in topic on the forum, the forum of BBS expanded the Internet spirit space of the people of ages, from a certain degree up drew near the distance between people consumedly. Believe the many people already not unfamiliar to forum of BBS, oneself is also one of the faithful members of many forums of BBS.This system usage connects the pond interview database, a database conjunction can drive a lot of applied procedures solid example share, apply the procedure and did not need at every time with the database to hand over with each other all carry on the conjunction and break to open the operation, raised the efficiency of the interview database thus and consumedly.Keywords: Network; Forum of BBS; JSPTv 11 BBS系统介绍 21.1 BBS的定义 21.2 BBS的功能与特点 31.3 BBS的发展基础与现状 41. 3. 1 BBS的发展简史 41. 3. 2 BBS的发展现状 41.4编写BBS系统的语言 52系统的理论基础 62. 1 J2EE 概述 62.2 JSP技术原理 72. 2. 1 JSP语言及其特点 7(1) 2. 2 JSP的运作模式 82. 2. 3 JSP与其他技术的比较 92. 2.4使用JSP技术的好处 101.1. JSP运行环境的配置 101.1. JavaBeans 在 JSP 中的应用 102. 4. 1 JavaBeans 的概念 102. 4. 2 JavaBeans 技术概述 112. 4. 3 开发 “JSP+JavaBeans” 模式的 Web 服务 11(1) 5 Servlet 技术 122. 5. 1 什么是 Servlet 122. 5. 2 JSP与Servlet之间的关系 132. 5. 3 Servlet应用范围及其缺陷 132. 5. 4 开发 “ JSP+Servlet+JavaBeans” 模式的 Web 服务 143 数据库概述 143.1简述数据库 143.2数据库设计 15(2) 3关系数据库 153.4数据库管理系统 15(2) 数据引擎JDBC 163.6访问数据库 16(2) 6. 1 通过JDBC-ODBC访问数据库 163. 6.2使用连接池访问数据库 174 BBS实例设计与实现 174。












