中英文翻譯_土木R101_李成武課件_第1頁(yè)
中英文翻譯_土木R101_李成武課件_第2頁(yè)
中英文翻譯_土木R101_李成武課件_第3頁(yè)
中英文翻譯_土木R101_李成武課件_第4頁(yè)
中英文翻譯_土木R101_李成武課件_第5頁(yè)
已閱讀5頁(yè),還剩7頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、大連交通大學(xué)2005屆本科生畢業(yè)設(shè)計(jì)(論文)外文翻譯外文原文Research on software development platform based on SSHframework structureAbstractThe research of software development platform is a complex system engineering. For the current problems in the field of Web application development, use computer related technology, combine

2、 with the more popular open source framework SSH, research the software development platform that based on SSH framework construction. Based on the analysis of the existing problems of software development, emphatically studies the key techniques of SSH framework platform, including the presentation

3、 layer framework Struts, business logic framework Spring, data persistence layer framework Hibernate, J2EE framework integrated the new SSH and so on. The research content of this article applied to large Web program development enterprise, it makes for promoting productivity and improving software

4、quality, and has an important significant to promote the development of software industry in China.© 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of CEIS 2011Keywords: SSH framework; software development platform; Struts; Spring; Hibernate;1. IntroductionThe

5、 development of large enterprise-class Web application system usually requires a good software architecture to facilitate the collaborative development expansion and upgrading, but the traditional development model can't meet these requirements. For the current problems in the field of Web appli

6、cation development, following the principles and methods of systems engineering, comprehensive use software engineering, database systems, computer networks, object-oriented technology, and software automatic generation platform based on B/S structure of Java framework, to help developers build a We

7、b application system of clear structure, good reusability and easy maintenance in the short term.The design idea is running by the front end program that front large databases supported, the code of software development automatically complete by computer, programmers don't need to master Java an

8、d database technology will be able to develop better software systems. Translate the traditional coding of software development to system analysis, reduces the technical requirements for software developers, improve the development productivity of software, and changes the traditional software devel

9、opment model.2. Problems in Software DevelopmentAt this stage there are many problems in software development, mainly in the following areas 1:(1) The phenomena of software development "demand exceeds supply" effects the development of enterprises. Different companies need different softwa

10、re, without a universal software can be applied to each enterprise management information system. Software development cycle is long, code errors, software reliability is poor, unfavorable to maintain and upgrade. The need that enterprise for software more complex, and the software provided by softw

11、are development companies enterprise are not satisfied.(2) Software quality is unreliable, software maintenance is poor, users typically are not satisfied with the completed software. Software error is inevitable, and software testing need to spend a lot of time. Software maintenance personnel not o

12、nly understand business processes, but also familiar with software development technology, to solve a bug in the software may introduce new bugs, and many people are not willing to engage in software Maintenance. If Software often wrong, will cause users' dissatisfaction, and ultimately be aband

13、oned.(3) Software development personnel can't meet the needs of the market, they need to master too much knowledge. Software development requires master: database technology, database access technology and a variety of database management systems, network and Internet technology, development too

14、ls and related structures and class libraries, software testing and analysis tools, and many other technologies. As the acceleration of technical upgrading, developers constantly learning new technique while be busy working, the burden is too heavy.(4) The frequent flow of software developers has a

15、great loss to the company. Software is the intellectual products of people, each one has their own programming habits, ideas and methods. It's very difficult to read someone's program. If the developers leave the project half-way, others will difficult to take over, and even leave after the

16、delivery of software projects, others also very difficult to maintain.(5) Software don't have the appropriate document, that caused great difficulties to the latter part of the development, maintenance and reconstruction. Software development should be first to write a document then write the pr

17、ogram, modify the program after modify the document. But some developers do not develop good habits; some busy to write or modify the program and forget to modify the document, resulting in inconsistent with the document and procedures; many software development companies have no clear requirements

18、in the quantity, quality and format of the document.3. Key Technology of SSH Framework PlatformThe development of large enterprise-class Web application system usually requires a good software architecture to facilitate the collaborative development expansion and upgrading, and the more popular open

19、 source framework SSH, is a lightweight solution to develop the Web applications of enterprise-class J2EE. At present, the market there have been some commercial, open source application framework thatbased on J2EE, in which the mainstream framework technologies are Struts framework based on MVC pat

20、tern and Spring framework based on IoC pattern and object / relations mapping framework Hibernate and so on 1.3.1. Presentation Layer Framework StrutsIt is the MVC framework realized on the base of JSP Model, mainly divided into three parts of Model,Viewer and Controller, the design concept is decou

21、pling performance logic and business logic through Controller, to improve the maintainability, scalability and reusability of system 2-4. The architecture of Struts framework shown in figure 1.Fig1.Architecture of Struts frameworkView. View major comprises the JSP page, there is no process logic, bu

22、siness logic and model information, only mark. Struts itself contains a set of TagLib, which is also one of the essence, flexibly use can simplify the code of JSP pages and improve the development efficiency.Controller. The Controller in Struts is ActionServlet mainly provided by itself. ActionServl

23、et receives all requests from clients and transfers the control to the appropriate Action according to the configuration file (struts-config.xml).Model. Struts don't define the implementation of specific Model layer, Model layer usually closely relates with business logic, and has persistence re

24、quirements. At present in commercial areas and the open source world, both have some excellent tools for facilitating the development of Model layer.3.2. Business Logic Layer Framework SpringIt's a powerful lightweight framework that solutes many common problems in J2EE and can replace EJB techn

25、ology. Lightweight refers here is the Spring framework itself rather than means Spring can only be used for lightweight application development 8. The lightness of Spring reflects in the framework of their own infrastructure and the support and assembly capabilities for other application tools. Comp

26、ared with the colossus EJB, Spring can make process development personnel reduce the risk that between the various techniques levels.In this way, without writing factory pattern, single pattern, or other construction method, can directly to obtain the necessary business components through the contai

27、ner. The structure of Spring framework shown in figure 2.Spring framework consists of seven well-defined modules, and each module or component can stand alone,or realizes joint with one or more modules. Spring Core Container is used to manage the IoC container of business component of, is the core o

28、f Spring applications; Spring DAO and Spring ORM provides abstraction module of data access, also integrates on Hibernate, JDO and iBatis and so popular support for object-relational mapping framework Module, and provides a buffer connection pooling, transaction processing and other important servic

29、es function to ensure the system performance and data integrity; Spring Web module provides a number of abstract package of Web application, which can integrate Web framework such as Struts, WebWork and Spring to their own solutions.3.3. Data Persistence Layer Framework HibernateO/R Mapping technolo

30、gy is generated to solve the contradiction not match between relational database and object-oriented programming. Hibernate is the most popular O/R Mapping framework, automatic mapping between relational database and Java objects, that programmers can use a very simple way to achieve database operat

31、ion. The working principle of Hibernate shown in figure 3.Hibernate through JDBC package, shields the underlying database operationsto programmer, so the programmer focus on OO application development, and improve development efficiency. The work programmers access the database is prepare Xml mappin

32、g file for persistent object.Changes in the underlying database simply change the initial configuration file(hibernate.cfg.xml or perties) can not affect the application.Hibernate has its own object-oriented query language HQL, HQL is powerful and supports for the current most popular d

33、atabases such as Oracle, DB2, MySQL, Microsoft SQL Server, etc., is the most widely used O/R mapping tool. Hibernate provides the underlying support for the rapid development application.3.4. New J2EE Framework for Integrated SSHAnalyzed the three framework technology based on J2EE, then improve the

34、 traditional J2EE Web development model through integrating these three technologies framework, form a new, lightweight J2EE framework. System architecture of integrated SSH framework shown in figure 4.From the responsibility system is divided into four layers: presentation layer, business logic lay

35、er, data persistence layer and domain module layer. Which uses Struts as the overall infrastructure of system, is responsible for the separation of MVC, in the model of Struts framework, we use Hibernate framework to support for presentation layer, the business layer with Spring. Specifically way is

36、: Based on requirements put forward some modules by object oriented analysis method, implement these models as a basic Java object, and then write a basic DAO interface, and gives the DAO implementation of Hibernate, using DAO classes that implemented by Hibernate framework to achieve the conversion

37、 and access betweenJava classes and database, and finally completed business logic by the Spring.The basic business processes of system are: in the presentation layer, first through the JSP interface realize interaction interface, and responsible for sending Request and receiving Response, then acco

38、rding to the configuration files (struts-config.xml) Struts delegates the Request received by ActionServlet to the appropriate Action to treatment. In the business layer, the Spring IoC container of management services component is responsible for providing services to the Action Model components an

39、d the DAO of this component to complete business logic, and provides transaction processing, buffer pool and so on container components to improve system performance and ensure data integrity. In the persistence layer, depends on the object mapping of Hibernate and database interaction, dealing with

40、 the data that DAO components requested and returns the results.4. ConclusionWith SSH framework, not only achieves the complete separation of View, Controller and Model, but also realizes the separation of business logic layer and persistence layer. No matter what changes the front, the model layer

41、with little changes, and database changes will not affect front-end and improves the reusability of the system. As the coupling between different layers is small, it's conducive to team members work in parallel and improve development efficiency.AcknowledgmentThis work is supported by Innovation

42、 Team Program of Beijing Academy of Science and Technology (IG201106N), Education department of liaoning province key laboratory fund project (2008S002) and Liaoning doctoral fundation (20091034).中文譯文研究軟件開(kāi)發(fā)平臺(tái)基于SSH框架結(jié)構(gòu)摘要軟件開(kāi)發(fā)平臺(tái)的研究是一個(gè)復(fù)雜的系統(tǒng)工程。對(duì)于當(dāng)前的問(wèn)題Web應(yīng)用程序開(kāi)發(fā)領(lǐng)域,使用計(jì)算機(jī)相關(guān)技術(shù),結(jié)合更流行的開(kāi)放源代碼SSH框架,研究基于SSH框架建設(shè)軟件開(kāi)發(fā)

43、平臺(tái)?;诜治鲕浖_(kāi)發(fā)存在的問(wèn)題,著重研究了SSH框架平臺(tái)的關(guān)鍵技術(shù),包括表示層、業(yè)務(wù)邏輯框架、基于Web的Struts框架,業(yè)務(wù)邏輯層Spring框架,數(shù)據(jù)持久層框架Hibernate,J2EE框架集成新的SSH等等。研究?jī)?nèi)容的本文應(yīng)用于大型Web程序開(kāi)發(fā)企業(yè),它使促進(jìn)生產(chǎn)力和改善軟件質(zhì)量,同時(shí)也有一個(gè)重要的意義那就是促進(jìn)軟件產(chǎn)業(yè)在中國(guó)的顯著發(fā)展。1介紹發(fā)展大型的企業(yè)級(jí)Web應(yīng)用系統(tǒng)通常需要一個(gè)好的軟件體系結(jié)構(gòu),以促進(jìn)協(xié)作開(kāi)發(fā)擴(kuò)張和升級(jí),但是傳統(tǒng)的發(fā)展模式不能滿(mǎn)足這些要求。對(duì)于當(dāng)前問(wèn)題領(lǐng)域的Web應(yīng)用程序開(kāi)發(fā),遵循系統(tǒng)工程原理和方法,全面使用軟件工程、數(shù)據(jù)庫(kù)系統(tǒng)、計(jì)算機(jī)網(wǎng)絡(luò)、面向?qū)ο蠹夹g(shù)、和

44、結(jié)合更流行的開(kāi)放源代碼框架SSH(Spring,Struts,Hibernate),研究軟件自動(dòng)生成平臺(tái)基于B / S結(jié)構(gòu)的Java框架,幫助開(kāi)發(fā)人員構(gòu)建一個(gè)Web應(yīng)用系統(tǒng)的清晰的結(jié)構(gòu),良好的可重用性和易于維護(hù)的短術(shù)語(yǔ)。設(shè)計(jì)理念是運(yùn)行在前端程序支持前面的大型數(shù)據(jù)庫(kù)代碼的由計(jì)算機(jī)自動(dòng)完成軟件開(kāi)發(fā)程序員不需要掌握J(rèn)ava和數(shù)據(jù)庫(kù)技術(shù)將會(huì)開(kāi)發(fā)出更好的軟件系統(tǒng)。對(duì)于系統(tǒng)分析將通過(guò)翻譯傳統(tǒng)的編碼軟件開(kāi)發(fā),降低軟件開(kāi)發(fā)人員的技術(shù)要求,提高軟件的開(kāi)發(fā)效率,改變了傳統(tǒng)的軟件開(kāi)發(fā)模型。2問(wèn)題在軟件開(kāi)發(fā)在軟件開(kāi)發(fā)中這個(gè)階段存在許多的問(wèn)題,主要是在以下領(lǐng)域:(1)現(xiàn)象的軟件開(kāi)發(fā)“供不應(yīng)求”發(fā)展的影響企業(yè)。不同的公司

45、需要不同的軟件,沒(méi)有一個(gè)通用的軟件可以被應(yīng)用到每個(gè)企業(yè)的管理信息系統(tǒng)。軟件的開(kāi)發(fā)周期很長(zhǎng)、代碼錯(cuò)誤,軟件可靠性差,不利于維護(hù)和升級(jí)。企業(yè)軟件的需求更復(fù)雜,而軟件公司提供開(kāi)發(fā)的軟件企業(yè)不滿(mǎn)意。(2)軟件質(zhì)量是不可靠的,軟件維護(hù)差,用戶(hù)通常不滿(mǎn)意這個(gè)完成的軟件。軟件錯(cuò)誤是不可避免的,軟件測(cè)試需要花很多時(shí)間。軟件維護(hù)人員不僅了解業(yè)務(wù)流程,但也熟悉軟件開(kāi)發(fā)技術(shù),來(lái)解決一個(gè)錯(cuò)誤的同時(shí)在軟件中可能會(huì)引入新的錯(cuò)誤,因此許多人不愿意從事軟件維護(hù)。如果軟件經(jīng)常出錯(cuò),會(huì)引起用戶(hù)的不滿(mǎn),最終用戶(hù)將放棄此軟件的使用。(3)軟件開(kāi)發(fā)人員不能滿(mǎn)足市場(chǎng)需要,他們還需要掌握太多知識(shí)。軟件開(kāi)發(fā)需要掌握:數(shù)據(jù)庫(kù)技術(shù)、數(shù)據(jù)庫(kù)訪問(wèn)技

46、術(shù)和各種數(shù)據(jù)庫(kù)管理系統(tǒng)、網(wǎng)絡(luò)和互聯(lián)網(wǎng)技術(shù),開(kāi)發(fā)工具和相關(guān)結(jié)構(gòu)和類(lèi)庫(kù)、軟件測(cè)試和分析工具,和許多其他技術(shù)。想要加速技術(shù)升級(jí),開(kāi)發(fā)人員需要不斷學(xué)習(xí)新技術(shù)而忙碌工作,負(fù)擔(dān)太重了。(4)經(jīng)常性的軟件開(kāi)發(fā)人員流動(dòng)會(huì)給公司帶來(lái)一個(gè)巨大的損失。軟件是人的知識(shí)產(chǎn)品,每個(gè)人都有自己的編程習(xí)慣,思想和方法。這是非常難以閱讀別人的程序。如果開(kāi)發(fā)人員項(xiàng)目中途離開(kāi),其他人將會(huì)很難接管,甚至交付這項(xiàng)軟件工程之后離開(kāi),別人也很難維護(hù)此軟件。(5)軟件沒(méi)有適當(dāng)?shù)奈募?,這回給后半部分的開(kāi)發(fā)、維護(hù)和重建帶來(lái)極大困難。軟件開(kāi)發(fā)應(yīng)該先寫(xiě)一個(gè)文檔然后編寫(xiě)程序,修改程序后然后修改文檔。但一些開(kāi)發(fā)人員不養(yǎng)成良好的習(xí)慣,有些忙于寫(xiě)或修改程序

47、,但是忘記修改文檔,導(dǎo)致文檔和程序不對(duì)應(yīng)或者不符合;許多軟件開(kāi)發(fā)公司在文檔的數(shù)量、質(zhì)量和格式上沒(méi)有明確的要求。3SSH框架平臺(tái)的關(guān)鍵技術(shù)發(fā)展大型的企業(yè)級(jí)Web應(yīng)用系統(tǒng)通常需要一個(gè)好的軟件體系結(jié)構(gòu),以促進(jìn)協(xié)作開(kāi)發(fā)擴(kuò)張和升級(jí),更受歡迎的開(kāi)源框架SSH,是一個(gè)輕量級(jí)的解決方案來(lái)開(kāi)發(fā)Web應(yīng)用程序的企業(yè)級(jí)J2EE。目前,市場(chǎng)上已經(jīng)有一些商業(yè)級(jí)開(kāi)源的應(yīng)用程序框架,例如:基于J2EE的主流技術(shù)框架Struts框架,基于MVC模式和Spring框架的控制反轉(zhuǎn)模式和對(duì)象/關(guān)系映射框架Hibernate等。3.1 表示層框架Struts它是MVC框架實(shí)現(xiàn)JSP模型的基礎(chǔ)上,主要分為三個(gè)部分的模型:顯示器和控制器

48、,設(shè)計(jì)理念是解耦性能邏輯和業(yè)務(wù)邏輯通過(guò)控制器,提高可維護(hù)性、可擴(kuò)展性和可重用性的系統(tǒng)的體系結(jié)構(gòu)。Struts框架如圖1。視圖。視圖主要由JSP頁(yè)面沒(méi)有過(guò)程邏輯、業(yè)務(wù)邏輯和模型信息,只有標(biāo)記。Struts本身包含一組標(biāo)簽,它也是一種本質(zhì)靈活使用能夠簡(jiǎn)化JSP頁(yè)面代碼,提高開(kāi)發(fā)效率。控制器??刂破髟赟truts是主要提供ActionServlet本身。ActionServlet根據(jù)配置文件(struts - config . xml)接收所有來(lái)自客戶(hù)機(jī)的請(qǐng)求和傳輸控制到適當(dāng)?shù)男袆?dòng)。模型。Struts不定義實(shí)現(xiàn)的特定模型層、模型層通常與業(yè)務(wù)邏輯密切有關(guān),并持續(xù)保留下去。目前在商業(yè)領(lǐng)域和開(kāi)放源世界,都有一些優(yōu)秀的工具來(lái)促進(jìn)發(fā)展模型層。圖1 Struts 框架結(jié)構(gòu)3.2 業(yè)務(wù)邏輯層Spring框架這是一個(gè)強(qiáng)大的輕量級(jí)框架,在J2EE包含著許多常見(jiàn)的問(wèn)題和可以替代的EJB技術(shù)。這里指的是Sprin

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論