毕业论文

打赏
当前位置: 毕业论文 > 外文文献翻译 >

基于SSH的web技术英文文献和中文翻译(3)

时间:2021-09-17 19:53来源:毕业论文
5、Hibernate the Application Framework Datas holding out for long time layer and Hibernate is one piece according to hold out for long time layer frame, is a kind of realization object and relation o

5、Hibernate the Application Framework

Data's holding out for long time layer and Hibernate is one piece according to hold out for long time layer frame, is a kind of realization object and relation of the tool which reflect to shoot(O/R Mapping), it carried on the object of the lightweight to pack to the JDBC and make procedure member can usage object plait distance thought to operation database。 It not only provided to shoot from Java to reflect of data form, but also provided a data a search and instauration mechanism。 Opposite in usage JDBC and SQL to operation database, use Hibernate ability consumedly of exaltation realization of efficiency。 The Hibernate frame use allocation document of the form come to the reflect of the definition Java object and data form to shoot relation, in the meantime at more deep of level of data form of relation explanation for the relations such as inherit of and containment etc。 of Java object。 Pass the usage HQL language sentence complications of relation the calculate way use the way of object description, to a large extent simplification logarithms according to of search, speed development of efficiency。 Have in the Hibernate a simple but keep the API of view, used for to the database mean of object performance search。 Want to establish or the modification be these objects, need in the procedure carry on with them to hand over with each other, then tell Hibernate to keep。 So, a great deal of pack hold out for long time turn operation of business logic no longer demand write a trivial JDBC language sentence, make data last long thus the layer got biggest of simplification。 

6、Use Hibernate and Struts to develop J2EE application

 Development practice underneath combine a development practice, with in the J2 the EE the application very widespread customer register process for example, elucidation above-mentioned system structure is how concrete usage。 The process of register is very clear: Customer from register page login。jsp importation register information, system to register the information carry on verification, if exactitude success register, otherwise hint correspond mistake information。 In the development process, the usage Eclipse be used as development environment and added to carry to provide to the Struts and the Hibernate in the meantime better control and support of three square plug-in MyEclipse, Web server usage Tomcat, the database chose to use Mysql。 Carry on an allocation to the Hibernate first, need to the system auto the born hibernate。cfg。 xml carry on modification, allocation good database conjunction of various parameter and definition the data reflect to shoot a document。 Because the Hibernate take of conjunction pond main used for test, the function isn't very good, can pass JNDI will it modification is usage Tomcat of conjunction pond。

7、Summary

In this paper, we introduced the Struts application framework。 And introduces some basic knowledge about Spring and Hibernate,。 We also show how to use Hibernate and Struts development J2EE, and how it used to be servlets and JSP in combination in the same application。 Now that you have a taste of the Strtus Web application, after that we will dig deeper into the theory and practice behind the Struts architecture。

B。英文原文翻译

基于SSH的web技术介绍

1、引言 

随着Java技术的逐渐成熟与完善,作为建立企业级应用的标准平台,J2EE平台得到了长足的发展。借助于J2EE规范中包含的多项技术:Enterprise JavaBean(EJB)、Java Servlets(Servlet)、Java Server Pages(JSP)、Java Message Service(JMS)等,开发出了许多应用系统。但是,在传统J2EE应用的开发过程中也出现了一些问题:

1)数据模型和逻辑模型之间的矛盾。目前使用的数据库基本上都是关系型数据库,而Java本质上是一种面向对象的语言,对象在存储和读取时使用SQL和JDBC进行数据库操作,降低了编程的效率以及系统的可维护性。 基于SSH的web技术英文文献和中文翻译(3):http://www.youerw.com/fanyi/lunwen_81940.html

------分隔线----------------------------
推荐内容