1、大连交通大学信息工程学院2012届本科生毕业设计(论文)外文翻译 大连交通大学信息工程学院 毕业设计(论文)任务书 题 目 超白金信息港湾网 任务及要求: 1.设计(研究)内容和要求 任务: 1、 调查企业门户网站当前技术的发展近况,完成实习报告,字数不少于3000,第三周交给指导老师。 2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。 3、 按照软件工程思想,独立完成网站的设计和程序开发,完成代码估计10000行左右。 4、 用ASP技术实现
2、企业门户网站整站。 5、 程序简洁,算法可行,运行情况良好。 要求: 1、 每周和指导老师至少见面沟通一次,回报课题进展情况,接受老师询问。 2、 接到任务书后,查阅与题目及专业相关的外文资料进行翻译,要求不少于10000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。 3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。 4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。 5、 于第13周提出毕业答辩申请并签字。 6、 第14 周答辩,要求制作P
3、PT 2.原始依据 大学几年的学习,了解了软件工程专业的基本知识,对网络、语言、数据库等知识有了一定的认识,能够运用这些只是进行整合,对中小型系统独立设计并完成代码和实现。学校现有设备和环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。 3.参考文献 [1] 翁健红.基于C#的ASP.NET程序设计.机械工程出版社.2004 [2] 仝春灵.沈祥玖.数据库原理与应用—SQL Server2000.中国水利水电出版社.2003 [3] 朱顺泉.管理系统系统理论与实务. 人民邮电出版社.2000 [4] (美)Greg Perry编著.戴
4、红.陈喆.姚娜译.学用Visual Basic 6.0.清华大学出版社.2003 [5] 龚沛曾.陆慰民.杨志强.Visual Basic 6.0程序设计教程.高等教育出版社.2001.7 [6] 张树兵.戴红.陈哲著.Visual Basic 6.0入门与提高.清华大学出版社.2000.11 [7] 飞思科技产品研发中心.Visual Basic灵感编程.电子工业出版社.2002.6 [8] 汪远征.刘瑞新.Visual Basic 6.0与可视化编程.上海科学技术出版社. 2002.5 [9] 王珊.数据库概论.高等教育出版社.2003.2 [10] 网冠科技编著.Visu
5、al Basic 6.0程序设计工程师.机械工业出版社.2001.2 [11] Campbell R.Mconnell Stanley L.Brue.Micro-Economics[J].set in century oldstyle by York Graphic Services.2000 指导教师签字: 教研室主任签字: 2012年3月26日 大连交通大学信息工程学院 毕业设计(论文)进度计划与考核表 学生姓名 康志华 专业班级 软件工程 08-2班 指导教师
6、阎树昕 翟悦 本课题其他人员 无 题 目 超白金信息港湾网 日 期 计划完成内容 完成情况 指导老师检查签字 第1周 实习调研,查阅课题相关外文资料 第2周 了解行业状况、查阅文献资料,阅读资料,撰写调研报告 第3周 完成10000字符或3000汉字以上的外文翻译资料,准备资料,学习ASP技术 第4周 进行需求分析 第5周 进行概要设计 第6周 进行概要设计, 基本框架完成,提交毕业论文提纲 第7周 完成后台数据库的设计并编码,完成部分论文 第8周 完成前台界面的设计并编码,完成部分论文
7、 第9周 继续编码并进行测试,继续编写毕业设计论文 第10周 继续进行程序测试,继续编写毕业设计论文 第11周 整理资料、文档、图表等,修改毕业设计论文 第12周 完成毕业设计论文,打印,按要求装订 第13周 软件验收和准备毕业设计答辩 第14周 毕业设计答辩及成绩评定 指导教师签字: 2012年 03 月 30 日 注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。 大连交通大学信息工程学院 毕业设计(论文)外文翻译
8、 学生姓名 康志华 专业班级 软件工程08-2班 指导教师 阎树昕 翟悦 职 称 高工 讲师 所在单位 信息科学系软件工程教研室 教研室主任 刘瑞杰 完成日期 2012 年 4 月 13 日 JSP and ASP JSP (Java Server Pages) is advocated by Sun Microsystems, with many companies invol
9、ved in the establishment of a dynamic web page technical standard. Show that the technology to create dynamic Web pages generated content provides a simple and rapid method. JSP technology is designed to make the job of building Web-based applications more easily and quickly, and these applications
10、can with a variety of Web server, application server, browser and development tools work together. JSP norms are Web servers, application servers, transaction systems, as well as development tools vendors extensive cooperation between the results. In traditional web page HTML file (* htm, *. html) t
11、o add Java programs fragment (Scriptlet) and JSP tags (tag), has constituted the JSP page (*. jsp). Web Server page visits in the face of the request, the first implementation of the procedures fragment, and then the results in HTML format back to the customer. Procedures fragment can operate databa
12、se, website re-orientation, etc. and send email, which is needed to create a dynamic Web site features. All procedures in the operation of the server-side implementation, network upload client gave only the result of the browser, the minimum requirements can be achieved without Plugin, no ActiveX, n
13、o Java Applet, even without Frame. ASP(Active Sever Pages)Italy is “the dynamic server page”. ASP is Microsoft Corporation develops replaces the CGI script procedure one kind of application, it may carries on with the database and other procedures alternately, is one kind simple, the convenient pr
14、ogramming tool. The ASP homepage document's form is .asp, now commonly used in each kind of dynamic website. ASP is one kind of server end script compilation environment, may use for to found and the movement dynamic homepage or the Web application procedure. The ASP homepage may contain the HTML ma
15、rk, the ordinary text, the script order as well as the COM module and so on. May increase the interactive content using ASP to the homepage in (for example online form), may also found uses the HTML homepage to take the user interface the web application procedure. JavaSever Pages technology and Mi
16、crosoft's Active Sever Pages are similar in many respects, but there are still many differences, the essence of which lies in the distinction: they are different from technical specification, the basis for its realization: Web calls to the same server platform. First .JSP the efficiency and safety
17、 of higher. ASP stored in the form of source code, to explain the running, each ASP page calls on the source need to explain, operating efficiency is not high. In addition, the IIS has made many loopholes in the exposure source website. JSP in the implementation of previous first to be compiled
18、into byte code (byte code), the byte code from the Java Virtual Machine (Java Virtual Machine) to explain the implementation than the source explained the high efficiency; server also bytecode the Cache mechanism Bytecode can improve the efficiency of the visit. The first call may be slower JSP page
19、 because it has been compiled into Cache, the faster the future. JSP source at the same time is unlikely to be downloaded, especially JavaBean procedures can not put external directory. Second.JSP components (Component) method more convenient. ASP COM to expand through complex features such as
20、file upload, send E-mail, as well as processing or will be separated from the complex calculation to become an independent reusable modules. JSP through JavaBean achieve the same function expansion. In the development, the development of COM complex than JavaBean, it is not difficult to learn ASP, C
21、OM Development Institute may simple. JavaBean simple and relatively more from the above examples of this can be seen in the development of JavaBean very convenient. In the maintenance, COM must be registered on the server, if COM revised procedures, must be re-registered, and even to shut down and
22、 restart. JavaBean registration is not required, on the CLASSPATH included in the directory on the trip. If carried out a revision of JavaBean, and Tomcat JSWDK now also need to be closed and re-running (but not off), but the developer has promised to in future editions do not need to shut down the
23、server. In addition JavaBean is complete OOP can be dealt with the different business functions to facilitate the establishment of a set of reusable object libraries, such as user access control, E-mail auto-response, and so on. Third.JSP adaptation broader platform. ASP currently only applies
24、 to NT and IIS. Although under UNIX plug-in to support ChiliSoft ASP, ASP own limited functions, through a combination of ASP + COM to expand, UNIX, the COM is extremely difficult to achieve. JSP is different, almost all platforms support Java, JSP + JavaBean on all platforms without hindrance. Unde
25、r NT IIS through a plug-in, for example, JRUN ( or ServletExec ( the JSP will be able to support. The famous Apache Web server has been able to support the JSP. As Apache widely used in the NT, UNIX and Linux, JSP is more extensive operating platform. Although NT operating systems make up a large sh
26、are of the market, but the advantages of UNIX servers still great, and the new rise of Linux is vehement in the way they not small. From one platform to another transplant a platform, JSP and JavaBean do not even have to recompile, because Java byte code standards and are platform-independent. I w
27、ill be in the NT experimental JSP page intact get up and running under Linux, and feel very satisfied. Java is the future development of the mainstream of technology, which has many advantages. JSP is Java in internet / intranet web applications, which is an important technology, has the support o
28、f major companies, it can be good and various Java technology to combine in order to achieve very complex applications. ASP there is a very strong vitality, but it Window depend on the vitality of the future vitality. JSP applicable to a variety of platforms, including NT. Suppose a site is based on
29、 linux / UNIX or solaris, aix, then JSP page is always preferred. Fourth. JSP technology for the future Microsoft recently launched DNA technology and it is ASP + COM / DCOM technology. JSP + Beans and completely similar, all the presentation layer completed by the ASP, all the business layer fr
30、om COM / DCOM completed. By calling achieve integration. Why should we use these components technology? Pure ASP / JSP language is very low efficiency of the implementation, if the user clicks on a large number of pure Script language quickly reached the ceiling of the function, and component tech
31、nology will be able to substantially improve functional ceiling, speed up the implementation of speed. Script layer and the business layer mixedîLanguage will be pure presentation together, causing inconvenience to amend, and the code can not be re-used. If you want to modify a place, often more
32、than 10 pages will involve code on the use of component technology components can be changed only by. Therefore, the early Servlet is a flawed product, write a good business layer, presentation layer poor writing, and two mixed. JSP+BAEN launch is to solve this issue, written with JSP presentation
33、 layer, the business layer with Bean wrote. SUN is the meaning of alternative future use JSP Servlet. Java is promising. Microsoft split, and from the operating system supremacy, application software developers will find a common language to the development of development, Java dominating the worl
34、d on the timing of that. If Microsoft split smoothly, the separation of application software from the company will become the new leader in Java. At present the leading Java SUN and IBM are stagnant, it is disappointing. Hope that the new company can reinvigorate. However, the new company may start
35、and SUN Java standards war, the two sides of their respective standard-setting, cross-platform Java impact. In addition, the machines faster, the speed of Java disadvantage can be overcome soon. Fifth.There are still some problems of JSP. Java JSP only very familiar with the use of the talent is
36、very good. JSP program faces debugging difficulties. JSP pages first to be converted to a. Java document (Servlet), and then been compiled. In this way, the error message is actually at the transformation that is not Java JSP document itself. For example, in the first line JSP document the error may
37、 be displayed for the first 20 lines. If passed the anti-tracking to try to resolve this problem would result sometimes baffling. (However, in Resin engine, can be wrong at the wrong documents to JSP) can also use some integrated design tools such as VAJ or JDeveloper IDE, but contrary to JSP easy-t
38、o-use features. Database links is not so easy. Servlet engine does not support the majority of the local pool of links. Therefore, to write a lot of code is to accomplish this task. It is difficult to choose suitable Servlet engine. Does not have an independent organization of the various engi
39、ne to provide independent benchmark tests. Providers of course, their products provide a benchmark test, the findings are usually data format, are avoided stability. - 7 - JSP与ASP JSP(Java Server Pages)是由Sun Microsystems公司倡导,许多公司参与一起建立的一种动态网页技术标准。该技术为创建显示动态生成内容Web页面提供了一个简捷而快速的方法。JSP技术的设计目的是使得
40、构造基于Web的应用程序更加容易和快捷,而这些应用程序能够与各种Web服务器,应用服务器,浏览器和开发工具共同工作。JSP的规范是Web服务器、应用服务器、交易系统、以及开发工具供应商间广泛合作的结果。在传统的网页HTML文件(*htm,*.html)中加入Java程序片段(Scriptlet)和JSP标记(tag),就构成了JSP网页(*.jsp)。Web服务器在遇到访问JSP网页的请求时,首先执行其中的程序片段,然后将执行结果以HTML格式返回给客户。程序片段可以操作数据库、重新定向网页以及发送 email 等等,这就是建立动态网站所需要的功能。所有程序操作都在服务器端执行,网络上传送给客
41、户端的仅是得到的结果,对客户浏览器的要求最低,可以实现无Plugin,无ActiveX,无Java Applet,甚至无Frame。 ASP(Active Sever Pages) 意为“动态服务器页面”。ASP是微软公司开发的代替CGI脚本程序的一种应用,它可以与数据库和其它程序进行交互,是一种简单、方便的编程工具。ASP的网页文件的格式是.asp,现在常用于各种动态网站中。ASP是一种服务器端脚本编写环境,可以用来创建和运行动态网页或Web应用程序。ASP网页可以包含HTML标记、普通文本、脚本命令以及COM组件等。利用ASP可以向网页中添加交互式内容(如在线表单),也可以创建使用HTM
42、L网页作为用户界面的web应用程序。 Java Sever Pages技术和微软的Active Sever Pages在许多方面都有相似的,但仍然存在很多不同之处,其中最本质上的区别在于:两者是来源于不同的技术规范组织,其实现的基础:Web服务器平台要求不相同。 (1)JSP的效率和安全性更高 ASP以源码形式存放,以解释方式运行,每次ASP网页调用都需要对源码进行解释,运行效率不高。另外,IIS的漏洞曾使得许多网站源程序大曝光。 JSP在执行以前先被编译成字节码(byte code),字节码由Java虚拟机(Java Virtual Machine)解释执行,比源码解释的效率高;服务
43、器上还有字节码的Cache机制,能提高字节码的访问效率。第一次调用JSP网页可能稍慢,因为它被编译成Cache,以后就快得多了。同时JSP源程序不大可能被下载,特别是JavaBean程序完全可以放到不对外的目录中。 (2)JSP的组件(Component)方式更方便 ASP通过COM来扩充复杂的功能,如文件上载、发送E-mail以及将业务处理或者复杂计算分离出来成为独立可重复利用的模块。JSP通过JavaBean实现了同样的功能扩充。在开发方面,COM的开发远比JavaBean复杂,学会ASP不难,但学会开发COM可不简单。而JavaBean就相对简单多了,从本文上述示例中可以看出开发Ja
44、vaBean很方便。 在维护方面,COM必须在服务器上注册,如果修改了COM程序,就必须重新注册,甚至必须关机和重新启动。JavaBean则不需要注册,放在CLASSPATH包含的目录中就行了。如果JavaBean进行了修改,则JSWDK和Tomcat现在还需要关闭和重新运行(但不是关机),但开发者已经许诺将在以后的版本中做到不需要关闭服务器。 另外JavaBean是完全的OOP,可以针对不同的业务处理功能方便地建立一整套可重复利用的对象库,例如用户权限控制、E-mail自动回复等等。 (3)JSP的适应平台更广 ASP目前仅适用于NT和IIS。虽然UNIX下有ChiliSoft的插件
45、来支持ASP,但是ASP本身的功能有限,必须通过ASP+COM的组合来扩充,UNIX下的COM实现起来非常困难。JSP则不同,几乎所有平台都支持Java,JSP+JavaBean可以在所有平台下通行无阻。NT下IIS通过一个插件,例如JRUN(http:// 从一个平台移植到另外一个平台,JSP和JavaBean甚至不用重新编译,因为Java字节码都是标准的与平台无关的。笔者将在NT下实验的JSP网页原封不动地拿到Linux下就运行起来了,感觉非常满意。 Java是未来的主流开发技术,具有很多优势。JSP则是Java在internet/intranet web上的重要应用技术,得到了各大公
46、司的支持,它可以和各种Java技术完好地结合在一起,从而实现非常复杂的应用。ASP也有很强的生命力,但它的生命力依附于Window未来的生命力。JSP适用于各种平台,包括NT。假设一个站点是基于linux/UNIX或者solaris、aix等,那么JSP总是首选的页面语言。 (4)JSP技术的未来 微软前不久推出的DNA技术,简单说,就是ASP+COM/DCOM技术。与JSP+Beans完全类似,所有的presentation layer由ASP完成,所有的business layer由COM/DCOM完成。通过调用,实现整合。为什么要采用这些组件技术呢? 单纯的ASP/JSP语言是
47、非常低效率执行的,如果出现大量用户点击,纯Script语言很快就到达了它的功能上限,而组件技术就能大幅度提高功能上限,加快执行速度。 纯Script语言将presentationî layer和business layer混在一起,造成修改不方便,并且代码不能重复利用。如果想修改一个地方,经常会牵涉到十几页代码,采用组件技术就只改组件就可以了。所以,Servlet是一个早期的不完善的产品,写business layer很好,写presentation layer就差,并且两层混杂。 JSP+BAEN的推出正是用来解决这个问题的,用JSP写presentation layer,用Bean写b
48、usiness layer。SUN自己的意思也是将来用JSP替代Servlet。 Java实在前途远大。微软分拆后,操作系统将群雄并起,应用软件的开发商必定要找一个通用开发语言进行开发,Java一统天下的时机就到了。如果微软分拆顺利,从中分出的应用软件公司将成为Java的新领导者。Java目前的主导SUN和IBM都死气沉沉,令人失望。希望新公司能注入新活力。不过,新公司很有可能和SUN展开Java标准大战,双方各自制定标准,影响Java跨平台。另外,现在的机器速度越来越快,Java的速度劣势很快就可以被克服。 (5)JSP存在的一些问题 JSP只有对Java相当熟悉的人才能用得很好。JS
49、P程序调试困难。JSP页面首先被转化为一个java文件(Servlet),然后再被编译。这样,出错信息实际上指向的是经过转化的那个Java文件而不是JSP本身。例如在JSP文件第1行的错误可能被显示为第20行。如果试图通过反跟踪来解决这个问题有时会使结果莫名其妙(但是,在Resin引擎中,错误已经可以指向JSP文件的出错行),也可以使用一些集成设计工具IDE如VAJ或JDeveloper,但这有悖于JSP简单易用的特性。 数据库链接并不那么容易。大多数Servlet引擎并不支持本地的缓冲池链接。因此,不得不写很多代码来完成这项工作。 很难选择合适的Servlet引擎。没有一个独立组织来对各种引擎提供独立benchmark测试。提供商当然对自






