你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

基于SSH架构的通用网络社区的设计与开发_通信工程专业论文

发布时间:2015-01-24 来源:人大经济论坛
通信工程专业论文 目 录 1 绪论………………………………………………………………………………1 1.1 网络社区的现状分析………………………………………………………1 1.2 本设计的实际意义…………………………………………………………2 2 J2EE介绍及通用网络社区总体架构…………………………………………………3 2.1 现代应用软件的架构 …………………………………………………………3 2.2 MVC模式……………………………………………………………………4 2.3 J2EE平台简介 ……………………………………………………………5 2.3.1 组件—容器搭建J2EE的体系结……………………………………5 2.3.2 J2EE的多层应用体系结构 …………………………………………7 2.4 通用网络社区的总体结构 ………………………………………………7 2.4.1 通用网络社区概述 …………………………………………………7 2.4.2 通用网络社区的多层结构使用分析 ………………………………9 3 SSH框架技术的介绍及在通用网络社区中的应用…………………………… 11 3.1 Struts框架技术介绍 ………………………………………………………11 3.1.1 Struts的作用及优势………………………………………………… 11 3.1.2 Struts核心组件 ………………………………………………………12 3.1.3 Struts工作原理及流程…………………………………………………11 3.2 Spring框架技术介绍…………………………………………………………13 3.2.1 Spring的作用及优势 ……………………………………………………13 3.2.2 Spring的框架组成………………………………………………………15 3.2.3 Spring工作原理…………………………………………………………16 3.3 Hibernate框架技术介绍 ……………………………………………………18 3.3.1 Hibernate的简介 ………………………………………………………18 3.3.2 Hibernate的核心接口 …………………………………………………20 3.3.3 Hibernate的结构体系和运行过程 ……………………………………21 3.4 SSH框架技术在通用网络社区中的整合……………………………………22 3.4.1 Struts在通用网络社区中的功能体现…………………………………22 3.4.2 Spring在通用网络社区中的功能体现…………………………………24 3.4.3 Hibernate在通用网络社区中的功能现………………………………25 3.4.4 SSH框架技术整合优势…………………………………………………26 4 利用面向对象思想对通用网络社区的分析…………………………………………28 4.1 面向对象的分析………………………………………………………………28 4.2 UML在通用网络社区中的应用…………………………………………………28 4.2.1 UML的概述………………………………………………………………28 4.2.2 UML在通用网络社区中的应用…………………………………………30 5 通用网络社区的编码及功能实现…………………………………………………32 5.1 对数据库中的数据进行分析说明……………………………………………32 5.1.1 对社区中的子版区数据分析……………………………………………32 5.1.2 对用户功能型数据分析…………………………………………………33 5.1.3 对用户数据信息分析……………………………………………………33 5.1.4 关于数据库中重要数据的加密方式…………………………………35 5.2 通用网络社区功能的实现说明………………………………………………35 5.2.1 注册登录功能实现…………………………………………………………36 5.2.2 主页面模块的功能实现…………………………………………………37 5.2.3 编辑器的功能实现…………………………………………………………38 5.2.4 后台管理模块的功能实现………………………………………………39 6 结论………………………………………………………………………………40 6.1 本文主要工作………………………………………………………………40 6.2 进一步工作…………………………………………………………………40 参考文献 ……………………………………………………………………………42 致谢 …………………………………………………………………………………43 摘要 到目前,中国的大部分独立网站,从门户网站到行业的网站,从地区门户到个人站点,许多的网站均拥有独立的网络社区。但是每个网站都要独立的去开发与自己相关网络社区,是否有这样的必要性? 因此,我们就需要一个通用框架,一个通用组件去支持这些需要建立网络社区的网站及其它的信息平台。消除了不必要的资源浪费,提升了建站的效率。因此采用了J2EE中的SSH框架达到方便组件二次开发,易于扩展的目的。 本项目采用分层结构,共分为三层, 表现层,中间层(业务逻辑层),数据服务层,三层体系将业务规则,数据访问及合法性校验等工作放在中间层处理。客户端不直接与数据库交互,而是通过组件与中间层建立连接,而由中间层与数控据库建立连接。此项目可以单一独立,也可以挂靠于某一网站之下,并且可以进行二次开发,具有很强的通用性。 关键词: J2EE,SSH框架,网络社区,分层结构 Based on SSH frameworks universal Network community design and development abstract Up to now ,most independent web sites in China,form portal sites to Industry's web sites,from the area's sites to individual sites, many Web sites have an independent network community。However, each site should be to develop an independent network communities with its associated , whether or not there is such a need? Therefore, we require that a generic framework,a component being applied or used universally go to support website and other information platform that these need to build the network community . To eliminate unnecessary waste of resources, improved efficiency building a web sites. Therefore, adopt SSH frameworks in J2EE to achieve the secondary development of convenient, easy to extend the purpose。 The use of hierarchical structure of the project is divided into three, the performance layer, middle layer (Business Logic layer), data service layer, the three-layer system put business rules, data access and work on checking the legitimacy into the middle layer。The client does not directly interact with the database, but by middle-layer components and establish a connection, and by the middle layer to establish a connection with the database。This project can be a single independent, can also be linked to a particular site, the secondary development and can be carried out, are highly versatile。 Key words: J2EE,SSH frameworks,network community,hierarchical structure
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐