外文翻译----基于JavaServer Faces技术的酒店预订系统

上传人:ss****gk 文档编号:206251692 上传时间:2021-10-30 格式:DOC 页数:10 大小:58.50KB
返回 下载 相关 举报
外文翻译----基于JavaServer Faces技术的酒店预订系统_第1页
第1页 / 共10页
外文翻译----基于JavaServer Faces技术的酒店预订系统_第2页
第2页 / 共10页
外文翻译----基于JavaServer Faces技术的酒店预订系统_第3页
第3页 / 共10页
外文翻译----基于JavaServer Faces技术的酒店预订系统_第4页
第4页 / 共10页
外文翻译----基于JavaServer Faces技术的酒店预订系统_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《外文翻译----基于JavaServer Faces技术的酒店预订系统》由会员分享,可在线阅读,更多相关《外文翻译----基于JavaServer Faces技术的酒店预订系统(10页珍藏版)》请在金锄头文库上搜索。

1、附录英文原文Hotel Reservation System Based on the JavaServer FacesTechnologyThis paper describes implementation of web -based hotel reservation system whichenables users tobook hotel rooms by means of a web browser. The systemis based on JavaServer Faces technology in thepresentation layer, Spring Framewo

2、rk in the service lay erand iBatis library for the data access layer.I. INTRODUCTIONThe Hotel Reservation System is a specific type of softwarethat supports, often by means of a web browser, wholeinfrastructure of the hotel for which the system has beendeployed. Its key features are listed below:To

3、search and to book hotel rooms.Tonotify of every event related to a user by sending the email on a given address during the registration process.To support definition process of each component of the hotel. The components of the hotel are: rooms,promotions, packages, discounts and se rvices.To compl

4、ete the reservation process by notifying the system about the fact that the guest came to the hotel and received keys to the booked room.IL JAVASERVER FACESThe user graphical interface is a crucial part of every computer programme with regard to its responsibility for interaction with the users. Thi

5、s part of application should be flexible,which means susceptible to any needed changes and without any doubts, user 一 friendly. Regrettably, process of developing such user interface in the main requires usually a profusion of developers work and time, making the whole development process involved a

6、nd onerous.The most apting technology to this field is JavaServer Faces (JSF). This holistic, component-based solution for longstanding problems facing software developers has a specific goal: to make web development faster and easier by masking a lot of complexities hidden behind this kind of progr

7、amming.JSF technology is a server-side user interface framework for Java technology-based web applications. The main components of JSF technology are as follows:Two JavaServer Pages custom tags library for expressing UI components within a JSP page and for wiring components to server-si de objects.T

8、he user interface created with JSF technology (represented by myUI on the Fig. 1) runs on the server and renders back to the client (in this case the browser).Because web-based applications, must often appease multiple clients (such as desktop browsers, cell phones, and PDAs)JSF has a powerful archi

9、tecture for displaying components in different ways. As for the browsers, for which JSF is mostly used, the default rendering technology is HTML 4.0, though the others like WML or SVG are also possible.One of the greatest advantages of JSF technology is that it offers a clean separation between beha

10、vior and presentation layers.III. SPRING FRAMEWORKSpring is a lightweight, inversion of control container, created to address the complexity of enterprise application development.Spring makes possible to use plain JavaBeans to achieve things that were previously only possible with EJBs 10J11.Any Jav

11、a application can benefit from Spring in terms of simplicity, test-ability, and loose coupling. The Spring Framework contains a lot of features, which are well-organized in seven modules.When taken as a whole, these modules give everything that is needed to develop enterprise applications, although

12、there is no must to build the application fully on the Spring framework. One can pick and choose only those modules that suit best to the application and ignore the rest. This strategy was chosen for the Hotel Reservation System Since one of the core value propositions of the framework is that of en

13、abling choice by not forcing one to apply any particular architecture, technology or methodology, Spring also provides convenient mechanisms for integration with number of third -party frameworks (also with JSF and iBatis).IV. APACHE TBATIS DATAMAPPERApache iBatis JDBC 一 based Data Mapper provides s

14、imple and flexible way to transport data between relational database and Java, .Net or Ruby application. Contrary to popular Hibernate library, iBatis does not directly tie classes to tables or fields to columns, but instead, it couples objects with results of stored procedures or SQL statements usi

15、ng simple XML descriptor letting the developer to reach only for required data. The iBatis framework can map nearly any database to any object model and is very tolerant of legacy designs, or even bad designs.Simplicity is the main advantage of the iBatis over other frameworks.The Hotel Reservation

16、System was primarily built upon JSF technology for the user interface along with auxiliary libraries -Spring and iBatis. The application architecture is presented in Fig. 3.The composition of the system is modular. Each layer is separated with and appropriate interface layer. Such solution makes the architecture not only more error -resistant but also more flexible for changes. The presentation layer consists of the graphical user interface written in the JSF te

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号