




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
2014届外 文 资 料 翻 译题 目:基于JSP的办公自动化系统的设计与实现学生学号:10102040207学生姓名:吴凯春指导教师:李智敏二级院系:信息与计算机学院专业班级:计算科学与技术102班完成时间:2013年12月21日2文献来源:JSP/Servlet-Based Web Application GeneratorJ. 18th Conference Proceedings Japan Society for Software Science and Technology Japan.2001JSPServlet的Web应用程序生成器铁屋 铃木,竹広 德田东京工业大学计算机科学系摘 要Web转换图已经提出的Web应用程序的整体行为的基础基于CGI的建筑。Web应用程序的发电机称为t-web系统已经实现自动生成基于CGI的Web应用程序从图。在本文中,我们扩展了概念图来表示网络过渡的JSPServlet Web应用程序,设计与实现一个Web应用程序生成器JSPServlet的Web应用程序。1.引言目前,对交易数据的Web应用程序中使用无限增加。许多强大的技术如JSP(JavaServer Pages)和Java servletsare开发支持的Web应用系统的建设,难度大的问题已成为Web应用程序开发的程序员和无经验的工程师。Web转换图和Web应用的发电机称为t-web系统已经提出了减少这种困难 1,2,3 。然而,定义和Web过渡图的符号和t-web系统设计仍限于基于CGI体系结构的Web应用程序。在本文中,我们重新定义和扩展的定义和符号网络转换图和实施t-web支撑系统的安全性和会话管理水平为JSPServlet的Web应用程序。Web转换图可以表示基于CGI、JSPServlet架构架构的Web应用程序。t-web系统可以由非程序员或UNEX丰富的工程师用于生成JSPServlet的Web应用程序没有程序设计。2. 网页转换图2.1 定义Web过渡图的图来描述基于CGI、JSPServlet架构架构的Web应用程序的整体行为。我们把节点和网络转换图的链接到两个类的符号。核心类包含所有基本组件,总是在Web应用程序所必需的。扩展类包含在Web应用程序的必要组成部分。一些组件是专门定义的Web应用基于JSPServlet架构。2.2网页转换图组成一般来说,CGI的Web转换图为基础的Web应用程序和简单的JSPServlet的Web应用程序可以由只使用COM组件中的核心类。然而,在JSPServlet架构定义网页节点的一些元素有时更强大,可以简化网络转换图。3. t-web系统3.1系统结构对JSPServlet的Web应用程序由两部分组成t-web系统:网络转换图编辑器和一个Web应用生成器。3.1.1 Web转换图编辑器编辑需要预先定义的模板处理程序(servlet)和豆作为输入。模板和其他文件指定存储在文件系统中的模板的细节,重新阅读每次系统启动。因此,可用的servlet模板和bean模板可以改变或删除,以及新的模板可以很容易地添加到系统。模板描述(模板名称,模板参数,默认参数值和过程的解释)是阅读并在属性框指导设计人员选择最合适的模板,每个处理节点的节点或豆。设计师组成一个Web转换图通过创建节点,指定他们的细节和与其它节点之间的关系,选择最合适的模板,并指定模板参数为每个处理节点的节点和豆。所有这些都可以在节点的属性框了。链接将自动出现在设计师指定的任何节点对之间的关系。设计师最后指定全局参数中的全局参数”属性框包含系统信息。一个完整的Web转换图和全局参数的编辑输出。3.1.2 Web应用生成器该发电机需要的网页转换图和全局参数为输入,为Web应用程序生成的输出的必要组成部分。网页结构和HTML元素和JSP元素足够数量的模板,模板提供了用于生成的网页。一个数据库表创建程序模板,一个会话对象和一些商业豆也预先定义的。这些模板被嵌入在发电机并没有改变。发电机产生产生的文件从一个Web转换图的Web应用,全局参数和预先定义的模板,使用相同的方法,在 2,3 。基于JSPServlet架构包含的网页文件,t-web图书馆的Web应用,并编制加工程序代码(servlet)文件,用户定义的bean文件,数据库表创建程序文件,一个会话对象文件和企业Bean的文件。3.2模板方法大量的模板并不总是带来模板法到最高的灵活性和通用性。一旦我们提供足够数量的模板,这种方法的灵活性很大程度上取决于模板本身的灵活性,即一个模板必须正常工作的模板参数可以是空白值,单值的各种状态,多值或无价值的。在t-web servlet模板和模板系统提供足够数量的豆。大多数servlet模板模板集中使用4个数据库查询命令数据的事务(插入,删除,更新和选择)如一个servlet以插入新的记录,一个servlet删除/更新现有记录,servlet来选择和显示条件匹配的记录。其他模板集中于其它必要的业务流程,如Servlet发送电子邮件。五豆模板是在t-web系统提供。他们是一个bean获取当前日期,豆含有一个全球的信息,一个bean计算访问计数器,豆计算小计值从一个会话对象和豆计算小计值从数据库的信息。4.结论和未来的工作我们扩展了Web转换图的想法代表基于JSPServlet架构的Web应用程序的整体行为,并设计和实现t-web系统作为一种工具,Web转换图的组成和JSPServlet的Web应用程序的生成。原子事务组成的两个或更多的动作处理的将是我们今后的工作。JSP/Servlet-Based Web Application GeneratorTetsuya Suzuki, Takehiro TokudaDept. of Computer ScienceTokyo Institute of Technologyfkonkamol,tetsuya,tokudagtt.cs.titech.ac.jpABSTRACTWeb transition diagrams have been proposed to represent overall behavior of Web applications based on CGI architecture. A Web application generator called T-Web system has been implemented to automatically generate CGI-based Web applications from the diagrams. In this paper, we extend the idea ofWeb transition diagrams to represent JSP/Servlet-basedWeb applications, design and implement a Web application generator for JSP/Servlet-based Web applications.1.IntroductionCurrently, the use of Web applications for data transactions is immensely increasing. As many powerful technologies such as JSP (JavaServer Pages)and Java servletsare developed to sup-port Web application construction,the difficulty tosystematically develop Web applications becomesa big problem for nonprogrammers and unexperienced engineers.Web transition diagrams and a Web application generator called T-Web system have been proposed to reduce this difficulty 1, 2, 3. However, the definitions and notation of Web tran-sition diagrams and the design of T-Web system are still limited to Web applications based on CGI architecture.In this paper, we redefine and extend definitions and notation of Web transition diagrams and implement T-Web system supporting standard level of security and session management for JSP/Servlet-based Web applications. Web transition diagrams can represent Web applications based on both CGI architecture and JSP/Servlet architecture. T-Web system can be used by non-programmers or unex-perienced engineers to generate JSP/Servlet-based Web applications without procedural programming.2.Web transition diagrams2.1 DefinitionsWeb transition diagrams are diagrams that can describe overall behavior of general Web applications based on CGI architecture or JSP/Servlet architecture.We classify the notation of nodes and links in Web transition diagrams into two classes.Core class contains all basic components that are always necessary in Web applications.Extended class contains components that are necessary in some Web applications. Some components are specifically defined forWeb applications based on JSP/Servlet architecture.2.2 Web transition diagram compositionGenerally, Web transition diagrams of CGI-based Web applications and simple JSP/Servlet-based Web applications can be composed using only com- ponents in core class. However,some elements in Web page nodes defined for JSP/Servlet architecture are sometimes more powerful and can simplify Web transition diagrams.3. T-Web system3.1 System structureT-Web system for JSP/Servlet-based Web applications consists of two parts: a Web transition diagram editor and a Web application generator.3.1.1 Web transition diagram editorThe editor takes pre-defined templates of processing programs (servlets) and beans as its input.Templates and additional files specifying details of the templates stored in the file system are re-read everytime the system starts. Consequently, available servlet templates and bean templates can be changed or removed, as well as new templates can be easily added to the system.Template description (template names, template parameters, default parameter values and process explanation) are read and presented in the property boxes guiding designers to select the most appropriate template for each processing node or bean node.Designers compose a Web transition diagram by creating nodes, specifying their details and relationships with other nodes, selecting the most appropriate template and specifying template parameters for each processing node and bean node. All of these can be done in the property boxes of nodes.Links automatically appear when designers specify relationships of any pair of nodes. Designers finally specify global parameters containing system information in a global parameter property box.A complete Web transition diagram and global parameters are output of the editor.3.1.2 Web application generatorThe generator takes a Web transition diagram and global parameters as input and generates necessary components for a Web application as output.A template for Web page structure and a sufficient number of templates for HTML elements and JSP elements are provided for the generation of Web pages. Templates for a database table creator program, a session object and some business beans are also pre-defined. These templates are embedded in the generator and are not subject to change.The generator generates resulting files for the Web application from a Web transition diagram,global parameters and pre-defined templates using the same methods as in 2, 3. A Web application based on JSP/Servlet architecture consists of Web page files, T-Web libraries, and compiled codes of processing program (servlet) files, user-defined bean files, a database table creator program file, a session object file and business bean files.3.2 Template methodA large number of templates does not always bring template method to the highest exibility and generality. Once we provide a sufficient number of templates, the exibility of this method is heavily depending on the exibility of template themselves, namely that a template must work properly for various status of template parameters which can be blank value, single value, multiple values or no value.There is a sufficient number of servlet templates and bean templates provided in T-Web system. Most of servlet templates are templates concentrating on data transactions using 4 database query commands (INSERT, DELETE, UPDATE and SELECT) such as a servlet to insert a new record, a s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 统编版语文三年级上册第一单元语文园地 第一课时公开课一等奖创新教案
- 2丁香结 +公开课一等奖创新教学设计
- 立项管理案例讲解
- 内河基本安全培训实操课件
- 肝叶部分切除术后护理
- 元音字母的发音音素课件
- 金字塔原理解读
- 勾股定理的验证动态课件
- 元谋公路分局安全培训课件
- 教室求职简历汇报
- 面部桃花灸培训专业知识课件
- 2025年高考政治总复习高中三年必考基础知识复习汇编资料(必背版)
- (2025)汽车驾驶员(技师)考试题库及答案
- 人工智能在威胁情报中的应用-洞察及研究
- 林业安全生产培训教材课件
- 乡级增补叶酸培训课件
- 2024邯郸大名县招聘村(居)党务、村务(居务)工作者354名招聘笔试备考试题及1套参考答案详解
- 人教版 2024 版历史八年级上册第五单元 第 13 课《国共合作与北伐战争》检测卷
- 小学数学教师新课标考试试题(含答案)
- 厂房搬迁管理办法
- 保险学考试题(附答案)
评论
0/150
提交评论