企业人事系统管理论文 联系客服

发布时间 : 星期五 文章企业人事系统管理论文更新完毕开始阅读c1aaec3aba0d4a7303763a17

哈尔滨工业大学华德应用技术学院毕业设计(论文)

附录1

简介

SSH:新的MVC软件开发模式。 SSH=Struts + Spring + Hibernate

其中,Struts进行流程控制,Spring进行业务流转,Hibernate进行数据库操作的封装,这种新的开发模式让我们的开发更加方便、快捷、思路清晰! Hibernate是一种持久层框架,跟数据库打交道,是通用的,常用的数据库都可以连。

Spring是一个开源框架,是为了解决企业应用程序开发复杂性而创建的。框架的主要优势之一就是其分层架构。分层架构允许您选择使用哪一个组件,同时为J2EE应用程序开发提供集成的框架。

Struts是一个基于Sun J2EE平台的MVC框架。主要是采用Servlet和JSP技术来实现的。由于Struts能充分满足应用开发的需求。简单易用,敏捷迅速,在过去的一年中最受关注。Struts把Servlet 、JSP、自定义标签和信息资源(message resources)整合到一个统一的框架中,开发人员利用其进行开发时不用再自己编码实现全套MVC模式,极大的节省了时间,所以说Struts是一个非常不错的应用框架。

Hibernate是一个JDO工具。它的工作原理是通过文件把值对象和数据库表之间建立一个映射关系,这样,我们只需要通过操作这些值对象和Hibernate提供的一些基本类,就可以达到使用数据库的目的。例如,使用Hibernate的查询,可以直接返回包含某个值对象的列表(List)。而不必向传统的JDBC访问方式一样把结果集的数据逐个装载到一个值对象中,为我们的编码工作节省了大量的劳动。Hibernate提供的HQL是一种类的SQL语言。它和EJBQL一样都是提供对象化的数据库查询方式,但HQL在功能和使用方式上都非常接近于标准的SQL。

37

哈尔滨工业大学华德应用技术学院毕业设计(论文)

附录2

Introduction

SSH: The new MVC software development model. SSH = Struts Spring Hibernate) which, Struts for process control, Spring for business transfer, Hibernate for database operations of the package, this new development model allows us to develop more convenient, fast, clear thinking! Hibernate is a persistence framework to deal with the database is a common, common database can be connected.

Spring is an open source framework to address the complexity of enterprise application development created. One of the main advantages of the framework is its layered architecture. Layered architecture allows you to choose which one component, as well as to provide an integrated J2EE application development framework.

Struts is a MVC-based framework for Sun J2EE platform. Servlet and JSP is mainly used technology to achieve. The struts can fully meet the needs of application development. Easy to use, quick fast, in the past year, the most attention. Struts the Servlet, JSP, custom tags and information resources (message resources) into a unified framework, developers do not use when developing their own code to achieve full re-MVC model, a great saving of time, so that the Struts is a very good framework.

Hibernate is a JDO tool. It works through the file to value objects and database tables to create a mapping between, so we only need to manipulate the value objects and Hibernate to provide some basic classes, we can achieve the purpose of using the database. For example, using Hibernate's query, can return a value object containing a list (List). Without having access to the same way as the traditional JDBC result set data to be loaded into a value-by-object, for our coding save a lot of work. Hibernate HQL is a class provided by the SQL language. EJBQL as it is to provide an object-oriented database query approach, but the function and use of HQL is very close to the standard SQL.

38