《宾馆房间管理系统论文-学位论文.doc》由会员分享,可在线阅读,更多相关《宾馆房间管理系统论文-学位论文.doc(62页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、大连交通大学信息工程学院毕业设计(论文)任务书题 目 宾馆房间管理系统任务及要求:1.设计(研究)内容和要求任务:1、 调查宾馆管理系统的发展近况,完成实习报告,字数不少于3000,第三周交给指导老师。2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。3、 按照软件工程思想,独立完成系统的设计和程序开发,完成代码估计2000行左右。4、 用JSP技术实现宾馆管理系统。5、 程序简洁,算法可行,运行情况良好。要求:1、 每周和指导老师至少见面沟通一次,回报课题进展情况,接受老师询问。2、 接到任务书后,查阅与题目及专业相关的外文资料进行翻译,要求不少于10
2、000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。5、 于第13周提出毕业答辩申请并签字。6、 第14 周答辩,要求制作PPT。2.原始依据通过大学几年的学习,已经学习了诸如软件工程、数据库原理及应用、数据结构、C+、Visual Basic、JAVA等多门程序设计语言和网络等基础知识和专业知识,学生有能力而且可以独立完成小中型项目的设计与开发。学校现有设备和
3、环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。3.参考文献1 飞思科技产品研发中心.JSP应用开发详解M.电子工业出版社.2003.92 耿祥义.张跃平.JSP实用教程M.北京:清华大学出版社.2003.5 3 LEE ANNE PHILLIPS.巧学活用 JSPM.电子工业出版社.2004.84 孙涌.现代软件工程M.北京:北京希望电子出版社.2003.85 朱红.司光亚.JSP编程指南M.电子工业出版社.20036 BruceEckel.JAVA编程思想M.机械工业出版社.2003.107 赛奎春.JAVA工程应用与项目实践.M.机械工业出版社.2002.88 孙一林.彭波.
4、JSP数据库编程实例M. 北京:清华大学出版社.2002.89 清宏计算机工作室.JSP编程技巧M.机械工业出版社.2004.510 徐国智. MySQL数据库系统开发实例精粹M.电子工业出版社.200611 Sebastien Thomassey .Michel Happiette.A neural clustering and classification system for sales forecasting of new apparel itemsM.Applied Soft Computing.2006指导教师签字:教研室主任签字: 年 月 日大连交通大学信息工程学院毕业设计(论文
5、)进度计划与考核表学生姓名刘彬专业班级软件工程08-1班指导教师常敬岩史 原本课题其他人员无题目宾馆房间管理系统日期计划完成内容完成情况指导老师检查签字第1周实习调研,查阅课题相关外文资料第2周了解行业状况、查阅文献资料,阅读资料,撰写调研报告第3周完成10000字符或3000汉字以上的外文翻译资料,准备资料,学习JSP技术第4周进行需求分析第5周进行概要设计第6周进行概要设计, 基本框架完成,提交毕业论文提纲第7周完成后台数据库的设计并编码,完成部分论文第8周完成前台界面的设计并编码,完成部分论文第9周继续编码并进行测试,继续编写毕业设计论文第10周继续进行程序测试,继续编写毕业设计论文第1
6、1周整理资料、文档、图表等,修改毕业设计论文第12周完成毕业设计论文,打印,按要求装订第13周软件验收和准备毕业设计答辩第14周毕业设计答辩及成绩评定指导教师签字: 年月日注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。大连交通大学信息工程学院毕业设计(论文)外文翻译学生姓名 刘彬 专业班级 软件工程08-1班 指导教师 常敬岩 史原 职 称 高工讲师 所在单位 信息科学系软件工程教研室 教研室主任 刘瑞杰 完成日期 2012 年 4 月 13 日The technique development history of JSPThe Java Server Pages( JS
7、P) is a kind of according to web of the script plait distance technique, similar carries the script language of Java in the server of the Netscape company of server- side JavaScript( SSJS) and the Active Server Pages( ASP) of the Microsoft.JSP compares the SSJS and ASP to have better can expand sex,
8、 and it is no more exclusive than any factory or some one particular server of Web.Though the norm of JSP is to be draw up by the Sun company of, any factory can carry out the JSP on own system. The After Sun release the JSP( the Java Server Pages) formally, the this kind of new Web application deve
9、lopment technique very quickly caused the peoples concern.JSP provided a special development environment for the Web application that establishes the high dynamic state.According to the Sun parlance, the JSP can adapt to include the Apache WebServer, IIS4.0 on the market at inside of 85% server prod
10、uct.This chapter will introduce the related knowledge of JSP and Databases, and JavaBean related contents, is all certainly rougher introduction among them basic contents, say perhaps to is a Guide only, if the reader needs the more detailed information, pleasing the book of consult the homologous J
11、SP.A. GeneralizeThe JSP(Java Server Pages) is from the company of Sun Microsystems initiate, the many companies the participate to the build up the together of the a kind the of dynamic the state web the page technique standard, the it have the it in the construction the of the dynamic state the web
12、 page the strong but the do not the especially of the function.JSP and the technique of ASP of the Microsoft is very alike.Both all provide the ability that mixs with a certain procedure code and is explain by the language engine to carry out the procedure code in the code of HTML.Underneath we are
13、simple of carry on the introduction to it.C. JSP characteristicsIs a service according to the script language in some one language of the statures system this kind of discuss, the JSP should be see make is a kind of script language.However, be a kind of script language, the JSP seemed to be too stro
14、ng again, almost can use all Javas in the JSP.Be a kind of according to text originally of, take manifestation as the central development technique, the JSP provided all advantages of the Java Servlet, and, when combine with a JavaBeans together, providing a kind of make contents and manifestation t
15、hat simple way that logic separate.Separate the contents and advantage of logical manifestations is, the personnel who renews the page external appearance need not know the code of Java, and renew the JavaBeans personnel also need not be design the web page of expert in hand, can use to take the pag
16、e of JavaBeans JSP to define the template of Web, to build up a from have the alike external appearance of the website that page constitute.JavaBeans completes the data to provide, having no code of Java in the template thus, this means that these templates can be written the personnel by a HTML pla
17、it to support.Certainly, can also make use of the Java Servlet to control the logic of the website, adjust through the Java Servlet to use the way of the document of JSP to separate website of logic and contentses.Generally speaking, in actual engine of JSP, the page of JSP is the edit and translate
18、 type while carry out, not explain the type of.Explain the dynamic state web page development tool of the type,such as ASP, PHP3 etc., because speed etc. reason, have already cant satisfy current the large electronic commerce needs appliedly, traditional development techniques are all at to edit and
19、 translate the executive way change, such as the ASP ASP+;PHP3 PHP4.In the JSP norm book, did not request the procedure in the JSP code part( be called the Scriptlet) and must write with the Java definitely.Actually, have some engines of JSP are adoptive other script languageses, such as the EMAC- S
20、cript, WebL etc., but actually this a few script languages also are to set up on the Java, edit and translate for the Servlet to carry out of.Write according to the norm of JSP, have no Scriptlet of relation with Java also is can of, however, mainly lie in the ability and JavaBeans, the Enterprise J
21、avaBeanses because of the JSP strong function to work together, so even is the Scriptlet part not to use the Java, edit and translate of performance code also should is related with Java.C. JSP mechanismTo comprehend the JSP how unite the technical advantage that above various speak of, come to carr
22、y out various result easily, the customer must understand the differentiation of the module develops for the web page of the center and the page develops for the web page of the center first. The SSJS and ASPses are all in several year agos to release, the network of that time is still very young, n
23、o one knows to still have in addition to making all business, datas and the expression logic enter the original web page entirely heap what better solve the method.This kind of model that take page as the center studies and gets the very fast development easily.However, along with change of time, th
24、e people know that this kind of method is unwell in set up large, the Web that can upgrade applies the procedure.The expression logic write in the script environment was lock in the page, only passing to shear to slice and glue to stick then can drive heavy use.Express the logic to usually mix toget
25、her with business and the data logics, when this makes be the procedure member to try to change an external appearance that applies the procedure but do not want to break with its llied business logic, apply the procedure of maintenance be like to walk the similar difficulty on the eggshell.In fact
26、in the business enterprise, heavy use the application of the module already through very mature, no one would like to rewrite those logics for their applied procedure.HTML and sketch the designer handed over to the implement work of their design the Web plait the one who write, make they have to dou
27、ble work- Usually is the handicraft plait to write, because have no fit tool and can carry the script and the HTML contentses knot to the server to put together.Chien but speech, apply the complexity of the procedure along with the Web to promote continuously, the development method that take page a
28、s the center limits sex to become to get up obviously. At the same time, the people always at look for the better method of build up the Web application procedure, the module spreads in customers machine/ server the realm.JavaBeans and ActiveX were published the company to expand to apply the proced
29、ure developer for Java and Windows to use to come to develop the complicated procedure quickly by the fast application procedure development( RAD) tool.These techniques make the expert in the some realm be able to write the module for the perpendicular application plait in the skill area, but the de
30、veloper can go fetch the usage directly but need not control the expertise of this realm.Be a kind of take module as the central development terrace, the JSP appeared.It with the JavaBeans and Enterprise JavaBeans( EJB) module includes the model of the business and the data logic for foundation, pro
31、vide a great deal of label and a script terraces to use to come to show in the HTML page from the contents of JavaBeans creation or send a present in return.Because of the property that regards the module as the center of the JSP, it can drive Java and not the developer of Java uses equally.Not the
32、developer of Java can pass the JSP label( Tags) to use the JavaBeans that the deluxe developer of Java establish.The developer of Java not only can establish and use the JavaBeans, but also can use the language of Java to come to control more accurately in the JSP page according to the expression lo
33、gic of the first floor JavaBeans. See now how JSP is handle claim of HTTP.In basic claim model, a claim directly was send to JSP page in.The code of JSP controls to carry on hour of the logic processing and module of JavaBeanses hand over with each other, and the manifestation result in dynamic stat
34、e bornly, mixing with the HTML page of the static state HTML code.The Beans can be JavaBeans or module of EJBs.Moreover, the more complicated claim model can see make from is request other JSP pages of the page call sign or Java Servlets.The engine of JSP wants to chase the code of Java that the lab
35、el of JSP, code of Java in the JSP page even all converts into the big piece together with the static state HTML contentses actually.These codes piece was organized the Java Servlet that customer can not see to go to by the engine of JSP, then the Servlet edits and translate them automatically byte
36、code of Java.Thus, the visitant that is the website requests a JSP page, under the condition of it is not knowing, an already born, the Servlet actual full general that prepared to edit and translate completes all works, very concealment but again and efficiently.The Servlet is to edit and translate
37、 of, so the code of JSP in the web page does not need when the every time requests that page is explain.The engine of JSP need to be edit and translate after Servlet the code end is modify only once, then this Servlet that editted and translate can be carry out.The in view of the fact JSP engine aut
38、o is born to edit and translate the Servlet also, need not procedure member begins to edit and translate the code, so the JSP can bring vivid sex that function and fast developments need that you are efficiently.Compared with the traditional CGI, the JSP has the equal advantage.First, on the speed,
39、the traditional procedure of CGI needs to use the standard importation of the system to output the equipments to carry out the dynamic state web page born, but the JSP is direct is mutually the connection with server.And say for the CGI, each interview needs to add to add a progress to handle, the p
40、rogress build up and destroy by burning constantly and will be a not small burden for calculator of be the server of Web.The next in order, the JSP is specialized to develop but design for the Web of, its purpose is for building up according to the Web applied procedure, included the norm and the to
41、ol of a the whole set.Use the technique of JSP can combine a lot of JSP pages to become a Web application procedure very expediently.JSP技术发展史Java Server Pages(JSP)是一种基于web的脚本编程技术,类似于网景公司的服务器端Java脚本语言 server-side JavaScript(SSJS)和微软的Active Server Pages(ASP)。JSP比SSJS和ASP具有更好的可扩展性,并且它不专属于任何一家厂商或某一特定的We
42、b服务器。尽管JSP规范是由Sun公司制定的,但任何厂商都可以在自己的系统上实现JSP。 在Sun正式发布JSP(Java Server Pages)之后,这种新的Web应用开发技术很快引起了人们的关注。JSP为创建高度动态的Web应用提供了一个独特的开发环境。按照Sun的说法,JSP能够适应市场上包括Apache WebServer、IIS4.0在内的85%的服务器产品。本文将介绍JSP相关的知识,以及JavaBean的相关内容,当然都是比较粗略的介绍其中的基本内容,或者说仅仅是一个Guide,如果读者需要更详细的信息,请参考相应的JSP的书籍。A. 概述JSP(Java Server Pa
43、ges)是由Sun Microsystems公司倡导、许多公司参与一起建立的一种动态网页技术标准,其在动态网页的建设中有其强大而特别的功能。JSP与Microsoft的ASP技术非常相似。两者都提供在HTML代码中混合某种程序代码、由语言引擎解释执行程序代码的能力。下面我们简单的对它进行介绍。B. JSP的特点按照脚本语言是服务于某一个子系统的语言这种论述,JSP应当被看作是一种脚本语言。然而,作为一种脚本语言,JSP又显得过于强大了,在JSP中几乎可以使用全部的Java类。作为一种基于文本的、以显示为中心的开发技术,JSP提供了Java Servlet的所有好处,并且,当与一个JavaBea
44、ns类结合在一起时,提供了一种使内容和显示逻辑分开的简单方式。分开内容和显示逻辑的好处是,更新页面外观的人员不必懂得Java代码,而更新JavaBeans类的人员也不必是设计网页的行家里手,就可以用带JavaBeans类的JSP页面来定义Web模板,以建立一个由具有相似的外观的页面组成的网站。JavaBeans类完成数据提供,这样在模板中就没有Java代码,这意味着这些模板可以由一个HTML编写人员来维护。当然,也可以利用Java Servlet来控制网站的逻辑,通过Java Servlet调用JSP文件的方式来将网站的逻辑和内容分离。一般来说,在实际的JSP引擎中,JSP页面在执行时是编译式
45、,而不是解释式的。解释式的动态网页开发工具如ASP、PHP3等由于速度等原因已经满足不了当前大型电子商务应用的需要了,传统的开发技术都在向编译执行的方式改变,如ASPASP+;PHP3PHP4。在JSP规范书中,并没有明确要求JSP中的程序代码部分(称为Scriptlet)一定要用Java来写。实际上,有一些JSP引擎就是采用的其他脚本语言,如EMAC-Script、WebL等,但实际上这几种脚本语言也是构建在Java上面,编译为Servlet来实现的。按照JSP规范书写,和Java没有任何关系的Scriptlet也是可以的,不过,由于JSP的强大功能主要在于能和JavaBeans、Enter
46、prise JavaBeans一起工作,所以即使是Scriptlet部分不使用Java,编译成的执行代码也应该是与Java相关的。C. JSP的机制要理解JSP怎样联合以上各种所提到的技术的优点,来轻而易举地实现各种效果,用户必须首先了解“组件为中心的网页开发”和“页面为中心的网页开发”的区别。 SSJS和ASP都是在几年前推出的,那时网络还很年轻,没有人知道除了把所有的商务、数据和表达逻辑统统堆进原始网页中之外还有什么更好的解决方法。这种以页面为中心的模型容易学习并且得到相当快速的发展。然而,随着时间的推移,人们认识到这种方法不适于构建大型的、可升级的Web应用程序。在脚本环境中书写的表达逻
47、辑被锁在页面内,只有通过剪切和粘贴才能被重用。表达逻辑通常和商务及数据逻辑混在一起,这使得当程序员试图改变一个应用程序的外观而不想破坏与之紧密结合的商务逻辑时,应用程序的维护就像在蛋壳上走路一样困难。其实在企业中,可重用组件的应用早已经很成熟,没有人愿意为它们的应用程序重写那些逻辑。HTML和图形设计师把它们的设计的实施工作交给了Web编写者,使他们不得不加倍工作 常常是手工编写,因为没有合适的工具可以把服务器端脚本与HTML内容结合起来。简而言之,随着Web应用程序的复杂性不断提升,以页面为中心的开发方式的局限性变得明显起来。 与此同时,人们一直在寻找建立Web应用程序的更好方法,组件在客户机/服务器领域流行起来。JavaBeans和ActiveX被“快速应用程序开发”(RAD)工具发行商推广给Java和Windows应用程序开发者用来快速开发复杂的程序。这些技术使某领域内的专家可以为本领域内的垂直应用编写组件,而开发者可以直接拿来使用而不必掌握这一领域的专门技术。作为一种以组件为中心的开发平台,JSP出现了。它以JavaBeans和Enterprise JavaBeans(EJB)组件包含商务和数据逻辑的模型为
限制150内