越来越多的Java开发人员开始欣赏Eclipse的JDT所提供的高生产率和质量收益外文翻译资料

 2022-03-29 09:03

More and more Java development personnel already started the productivity which and the quality income appreciates Eclipse JDT to provide. It was the Java editor provides grammar Gao Liang to demonstrate that the formatting, the fold, the content were auxiliary, code template and so on many functions. It grows unceasingly available restructuring and the code generation function set permits you in a higher rank the operation code, and automated usual code intensity duty and easy wrong duty. Moreover, in develops the code and uses JDT to compile and to carry out the JUnit test built-in support carries on the unit testing after the code, may use Eclipse the first-class Java debugger debugging when the movement meets any question. Besides JDT, Eclipse SDK- the most popular Eclipse.org downloading - also contains Plug-in Development Environment(PDE). PDE used the specific function to expand JDT to construct the Eclipse plug-in unit - based on the Eclipse application procedure basic construction agglomeration. In fact, uses the tool which provides by Eclipse itself to be able to surmount the Java development, may expand the existing Eclipse application procedure, or even founds the brand-new application procedure.

Eclipse by a script level constitution, contains in many functional modules or the Eclipse terminology so-called “the plug-in unit”. The plug-in unit is provides all functions in the Eclipse application procedure the module. They cooperate through its API to pay the final outcome together. In Eclipse, even the most foundation#39;s function, for instance the search and the start installment#39;s plug-in unit, seals in the plug-in unit. In order to expand the existing Eclipse function or carry on the construction in above, the plug-in unit the concrete expansion contribution for the expansion spot which will expose by other plug-in units. Usually, the plug-in unit concentrates the specific region responsibility, and gives through or a many expansion way other responsibility designation other plug-in units. For example, a plug-in unit allows you parallel to compare two documents visibly the contents, but it will not care how to read these documents even how to explain these document structure; This is other plug-in unit#39;s work. When compared with two documents, this plug-in unit first inspects whether to have another plug-in unit to be possible to explain these document structure. If found one, it to the plug-in unit inquiry related file organization information which found, and used this information in the comparison process.

May see that the modular construction was Eclipse has provided the huge flexibility, and provided one to be possible to support the massive application procedure platform which the original design has not expected.

Struts is a MVC frame (Framework), uses in developing Java fast the Web application. Struts realizes the key point in C(Controller), Action which and we have custom-made including ActionServlet/RequestProcessor, was also V(View) provides a series of rows to have custom-made the label (Custom Tag). Spring is a light vessel (light-weight container), its core is the Bean factory (Bean Factory), with constructs M(Model) which we need. Above this foundation, Spring has provided AOP (Aspect-Oriented Programming, face stratification plane programming) realization, provides under the non-management environment with it to declare services and so on way business, security; Is more convenient to Bean factory expansion ApplicationContext we to realize the J2EE application; DAO/ORM realizes facilitates us to carry on the database the development; Web MVC and Spring Web have provided Java the Web application frame or carries on the integration with other popular Web frame. That is may a both use, achieve both own characteristic carries on supplementary.

Structs is the kind which, servlet and the JSP mark a group cooperates mutually, they compose the MVC 2 designs which may entrust with heavy responsibility. This definition expressed that Struts is a frame, but is not a storehouse, but Struts has also contained the rich mark storehouse and the independence in this frame work utility program class.

Client browser (customer browser), the request founds an event from customer browser#39;s each HTTP. The Web vessel will use a HTTP response to make the response.

Controller (controller), the controller receive from browser#39;s request, and decided that sends out where this request. Speaking of Struts, the controller is an order design pattern which realizes by servlet. struts-config.xml document disposition controller. 

Service logic, the service logic renewal model#39;s condition, and helps the control application procedure the flow. Speaking of Struts, this is through takes the actual service logic “thin” the packing Action kind to complete.

Model (model) condition, model expression application procedure condition. Service object renewal application procedure condition. ActionForm bean in conversation level or request level expression model condition, but is not in the lasting level. The JSP document uses JSP to mark the read from the ActionForm bean information.

View (view), the view is a JSP document. And does not have the flow logic, does not have the service logic, also does not have the model information -- Only then marks. The mark causes Struts is different with other frames (for example Velocity) one of factors.

Just like the Struts controller is (event usually is HTTP post) maps the event kind of servlet. you to expect - the air-operated controller use configuration files to cause you not to need to carry on to these values the hard code. The time has changed, but method as before.

The Action kind, ActionForm maintains the Web application procedure the conversation condition. ActionForm is one abstract class, must found this kind of subclass for each input form model. When I said when input form model, what r

全文共25441字,剩余内容已隐藏,支付完成后下载完整资料


越来越多的Java开发人员开始欣赏Eclipse的JDT所提供的高生产率和质量收益。它为Java编辑器提供了语法高亮显示、格式化、折叠、内容辅助、代码模板等许多功能。它不断提高的重构和代码生成功能允许您在更高的级别上操作代码,并自动更正通常的代码错误。而且,在开发完代码并用JDT对编写和执行的代码进行单元测试之后,可以使用Eclipse的Java调试器调试在运行时遇到的任何问题。除了JDT之外,Eclipse SDK(最流行的Eclipse.org下载)还包含Plug-in Development Environment(PDE)。PDE使用特定功能扩展了JDT以构建Eclipse插件,一个基于Eclipse的应用程序的基本构造块。事实上,使用由Eclipse本身提供的工具能够实现Java开发,可扩展现有的Eclipse应用程序,甚至创建全新的应用程序。

Eclipse由一个小程序层构成,其中包含许多功能模块或者说Eclipse术语中所谓的“插件”。插件是在Eclipse应用程序中提供功能的组件。它们通过API一起协作来实现最终结果。在Eclipse中,最基础的功能比如查找和启动安装的功能,都封装在插件中。为了扩展现有的Eclipse或在其上进行模块构建,插件将具体的功能交给由其他插件的扩展点。通常,一个插件负责的是特定区域,并通过扩展一个或多个模块的方式将其他功能指派给其他插件。例如,一个插件允许您可视地并行比较两个文件的内容,但它不会关心如何读取这些文件甚至如何解释这些文件的结构;这是其他插件的工作。比较两个文件时,该插件首先检查是否有另一个插件可以解释这些文件的结构。如果找到一个,它就会向找到的插件查询有关文件结构的信息,并在比较过程中使用该信息。

可以看到,模块化架构为Eclipse提供了巨大的灵活性,并提供了一个设计者都没有预料到的可以开发大量应用程序的平台。

Struts是一个MVC框架,用于快速开发Java Web应用。Struts实现的重点在控制器,包括ActionServlet或RequestProcessor,同时它也为视图提供了一系列定制标签。Spring是一个轻型容器,其核心是Bean,用来构造我们所需要的模块。在此基础之上,Spring实现了AOP(Aspect-Oriented Programming, 面向层面的编程),用它来管理事务以及安全等服务;对Bean的扩展更加方便我们实现J2EE应用;DAO/ORM的实现方便我们进行数据库的开发;Web MVC和Spring Web提供了Java Web应用的框架或与其他流行的Web框架进行集成。将两者一起使用,可以达到将两者自身的特点进行互补的作用。

Structs 是一组相互协作的类,servlet 和 JSP 标记组成一个可重用的 MVC 2 设计。这个定义表示 Struts 是一个框架,而不是一个库,但 Structs 也包含了丰富的标记库和独立于该框架工作的实用程序类。

Client browser(客户浏览器),来自客户浏览器的每个 HTTP 请求都会创建一个事件。Web 容器将用 HTTP 响应来作出响应。  

Controller(控制器),控制器接收来自浏览器的请求,并决定将这个请求发往何处。就 Struts 而言,控制器是以 servlet 实现的一个命令设计模式。 struts-config.xml是文件配置控制器。  

业务逻辑,业务逻辑作用在于更新模型的状态,并帮助控制应用程序的流程。就 Struts 而言,这是通过作为实际业务逻辑包装的“Action” 类完成的。

Model(模型)的状态,模型表示应用程序的状态。业务对象更新应用程序的状态。ActionForm bean 在会话级或请求级表示模型的状态,而不是在持久级。JSP 文件使用 JSP 标记读取来自 ActionForm bean 的信息。

View(视图),视图就是一个 JSP 文件。其中没有逻辑流程,没有业务逻辑,也没有模型信息 ,只有标记。标记是使 Struts 有别于其他框架(如 Velocity)的因素之一。

Struts 的控制器是将事件(事件通常是 HTTP post)映射到类的一个 servlet.控制器使用配置文件以使人们不必对这些值进行硬编码。虽然时代变了,但方法依旧。

Action类,ActionForm 维护 Web 应用程序的会话状态。 ActionForm 是一个抽象类,必须为每个输入表单模型创建该类的子类。当我说 输入表单模型 时,是指 ActionForm 表示的是由 HTML 表单设置或更新的一般意义上的数据。Action类是业务逻辑的一个包装。 Action 类的用途是将 HttpServletRequest 转换为业务逻辑。要使用 Action ,请创建它的子类并覆盖进程。

ActionServlet (Command) 使用 perform() 方法将参数化的类传递给 ActionForm .其中没有太多讨厌的 request.getParameter() 调用。当事件进展到这一步时,会将输入表单数据(或 HTML 表单数据)从请求流中提取出来并转移到 ActionForm 类中。

Action 类的另一种工作方式是 Adapter 设计模式。 Action 的用途是“将类的接口转换为客户机所需的另一个接口。Adapter 使类能够协同工作,如果没有 Adapter,这些类会因为不兼容的接口而无法协同工作。”本例中的客户机是 ActionServlet ,它对我们的具体业务类接口一无所知。因此,Struts 提供了一个它能够理解的业务接口,即 Action .通过扩展 Action ,我们可以使得我们的业务接口与 Struts 业务接口保持兼容。

CSS的编辑方法同HTML一样,也可以是任何文本编辑器或网页编辑软件,还有专门用来编辑CSS的软件。 如果你写的CSS语句是当成外部样式表而在HTML文件中调用,那它的扩展名存成.css就可。当初技术人员设计HTML,主要侧重于定义内容,比如 p表示一个段落,h1表示标题,而并没有过多设计HTML的排版和界面效果。

随着Internet的迅猛发展,HTML被广泛应用,上网的人们当然希望网页做得漂亮些,因此HTML排版和界面效果的局限性日益暴露出来。为了解决这个问题,人们也走了不少弯路,用了一些不好的方法,比如给HTML增加很多的属性结果将代码变得很冗杂,将文本变成图片,过多利用Table来排版,用空白的图片表示白色的空间等。直到CSS出现。

CSS可算是网页设计的一个突破,它解决了网页界面排版的难题。可以这么说,HTML的Tag主要是定义网页的内容,而CSS决定这些网页内容如何显示。CSS的英文是Cascading Style Sheets,中文可以翻译成串联式样式表。CSS按其位置可以分成三种:内嵌样式 ,内部样式表 ,外部样式表。

Hyper Text Markup Language 超文本标记语言是一种用来制作超文本文档的简单标记语言。用HTML编写的超文本文档称为HTML文档,它能独立于运行各种操作系统平台(如UNIX,WINDOWS等)。自1990年以来HTML就一直被用作World Wide Web上的信息表示语言,用于描述Homepage的格式设计和它与WWW上其它Homepage的连结信息。

HTML文档(即Homepage的源文件)是一个放置了标记的ASCII文本文件,通常它带有.html或.htm的文件扩展名。生成一个HTML文档主要有以下三种途径:1.手工直接编写(例如用你所喜爱的ASCII文本编辑器或其它HTML的编辑工具)。2.通过某些格式转换工具将现有的其它格式文档(如WORD文档)转换成HTML文档。3.由Web服务器(或称HTTP 服务器)实时动态地生成。

HTML语言是通过利用各种标记(tags)来标识文档的结构以及超链的信息。

虽然HTML语言描述了文档的结构格式,但并不能精确地定义文档信息如何显示和排列,而只是规定Web浏览器(如Mosiac,Netscape等)应该如何显示和排列这些信息,最终在用户面前的显示结果取决于Web浏览器本身的显示风格及其对标记的解释能力。这就是为什么同一文档在不同的浏览器中展示的效果会不一样。目前HTML语言的版本是2.0,它是基于SGML(Standard Generalized Markup Language,标准广义置标语言,是一套用来描述数字化文档的结构并管理其内容的复杂的规范)中的一个子集演变而来的。虽然下一版本的标准HTML3.0(也称为HTML )正在制订之中,但其中某些部分的实验性标准草案已被广泛采用,大多优秀的Web浏览器(如Netscape等)都能解释HTML3.0中的部分新标记,因此在本章中介绍的一些HTML3.0新标记均已被多数浏览器所接受。

JS即javascrip,Javascript是一种由Netscape的LiveScript发展而来的脚本语言,主要目的是为了解决服务器终端语言的问题,比如遗留的速度问题。当初服务端需要对数据进行验证,由于网络速度相当缓慢,只有28.8kbps,验证步骤浪费的时间太多。于是Netscape的浏览器Navigator加入了Javascript,提供了数据验证的基本功能。

JavaScript 的正式名称是 'ECMAScript'。这个标准由 ECMA 组织发展和维护。ECMA-262 是正式的 JavaScript 标准。这个标准基于 JavaScript (Netscape) 和 JScript (Microsoft)。Netscape (Navigator 2.0) 的 Brendan Eich 发明了这门语言,从 1996 年开始,已经出现在所有的 Netscape 和 Microsoft 浏览器中。ECMA-262 的开发始于 1996 年,在 1997 年 7 月,ECMA 大会采纳了它的首个版本。

脚本script是一种特定的描述性语言,是依据一定的格式编写的可执行文件,又称作宏或批处理文件。脚本通常可以由应用程序临时调用并执行。各类脚本目前被广泛地应用于网页设计中,因为脚本不仅可以减小网页的规模和提高网页浏览速度,而且可以丰富网页的表现,如动画、声音等。举个最常见的例子,当我们点击网页上的E-mail地址时能自动调用Outlook Express或Foxmail这类邮件软件,就是通过脚本功能来实现的。也正因为脚本的这些特点,往往被一些别有用心的人所利用。例如在脚本中加入一些破坏计算机系统的命令,这样当用户浏览网页时,一旦调用这类脚本,便会使用户的系统受到攻击。所以用户应根据对所访问网页的信任程度选择安全等级,特别是对于那些本身内容就非法的网页,更不要轻易允许使用脚本。通过“安全设置”对话框,选择“脚本”选项下的各种设置就可以轻松实现对脚本的禁用和启用。

现在的脚本语言是比较多的,一般的脚本语言的执行只与具体的解释执行器有关,所以只要系统上有相应的解释程序就可以做到跨平台。脚本(Script),就是含有bind和alias等命令的集合,你可以把这个集合存为一个独立的文件然后在需要的时候执行,这样就可以方便你在CS中的使用。脚本可以存为后缀名为.cfg的文件放在cstrike文件夹下,执行时在控制台输入:exec(脚本文件名).cfg即可。比如将一个脚本存为 buys.cfg文件,则在控制台中输入:execbuys.cfg就可以实现我们所需要的功能。要实现一个命令只要把这一过程定义好,并且分配一个键位给这个命令,以后只要按分配好的键位,就可以实现这一过程。所有的脚本都是通过这一方法实现的。

由于缺乏关于Web系统开发的严格规则,我们迟早会发现:

a)基于Web的应用程序不能提供期望的性能和质量。

b)Web应用程序开发过程变得越来越复杂,难以管理和细化,而且也很昂贵,而且严重落后于计划。

网络工程是一门新兴的学科,主张开发高质量的基于互联网的系统, 我们对一个网络工程定义如下:网络工程是为了方便网络使用的一门科学工程,通过规范管理开发系统,并建立和维护高质量的基于网络的系统和应用程序。

网络工程原理和方法可以控制基于网络的系统开发中的可能产生的报错,将风险降至最低,并增强可维护性和质量。

许多基于网络的系统需要不断更新或改进,因此基于网络的系统开发可以被认为是“连续的,细致的,没有特定版本的软件”。因此,基于Web的系统开发就像园艺[8,18 ]一样,由于基于网络的系统将持续发展和变化。 因此,在开发时需要一个良好的基础。将网络应用程序开发比作园艺也暗示了关于适当开发工程的问题。 我们相信网络工程适合基于网络的应用程序的开发,因此引用了园艺工程和园艺之间的关系。工程的规则和开发应该适应网络环境,它们不像一些“传统工程”那样僵化,并且允许创意和个性化。事实上,所有这些网络工程都提倡“使用健全的科学,工程和管理原则以及条理和系统的方法来开发,部署和维护高质量的基于网络的系统和应用程序。”

尽管网络工程涉及一些编程和软件开发,并且采用了软件工程的一些原理,但基于网络的系统开发与软件开发并不同。

1.至少到目前为止,大多数基于网络的系统都是面向文档的,包含静态或动态网页。

2.基于网络的系统将专注于外观和感觉,将更多的重点放在前端用户界面的视觉创意和呈现方面。

3.大多数基于网络的系统都是由内容驱动。

4.大多数基于网络的系统需要迎合具有不同技能和能力的用户,使得人机交互,用户界面和信息显示非常复杂。

5.网络作为应用媒介和传播媒介的性质和特征尚未得到很好的理解。

6.网络在软件开发中体现出艺术与科学之间更大的联系。

7.大多数基于Web的系统需要在短时间内开发,因此难以应用在软件开发中使用的计划和测试。

8.Web与交付媒介相

全文共7417字,剩余内容已隐藏,支付完成后下载完整资料


资料编号:[14905],资料为PDF文档或Word文档,PDF文档可免费转换为Word

原文和译文剩余内容已隐藏,您需要先支付 30元 才能查看原文和译文全部内容!立即支付

以上是毕业论文外文翻译,课题毕业论文、任务书、文献综述、开题报告、程序设计、图纸设计等资料可联系客服协助查找。