毕业设计论文--外文翻译:JSP技术简介

简介: 毕业设计论文--外文翻译:JSP技术简介

作者主页:编程千纸鹤

作者简介:Java、前端、Python开发多年,做过高程,项目经理,架构师

主要内容:Java项目开发、毕业设计开发、面试技术整理、最新技术分享

收藏点赞不迷路  关注作者有好处

文末获得源码

   在编写计算机论文时,学校一般都有对外文参考文献的要求,并要求选取一篇进行翻译,以作编写论文的参考资料,本文分享一篇外文翻译资料以供大家参考。

THE TECHNIQUE DEVELOPMENT HISTORY OF JSP

作者: Kathy Sierra and Bert Bates

来源: Servlet&JSP


The Java Server Pages( JSP) 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, 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 development technique very quickly caused the people's 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 product.


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 JSP.


1.1 GENERALIZE

The 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 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 mixes 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 simple of carry on the introduction to it.


JSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform could also be accomplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of one or the other. After all, anything you can do on a particular computer platform in the Java programming language you could also do in assembly language. But it still matters which you choose.


JSP provides the following benefits over servlets alone:


  • It is easier to write and maintain the HTML. Your static code is ordinary HTML: no extra backslashes, no double quotes, and no lurking Java syntax.


  • You can use standard Web-

site development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags.


 • You can divide up your development team. The Java programmers can work on the dynamic code. The Web developers can concentrate on the presentation layer. On large projects, this division is very important. Depending on the size of your team and the complexity of your project, you can enforce a weaker or stronger separation between the static HTML and the dynamic content.


Now, this discussion is not to say that you should stop using servlets and use only JSP instead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still others, you will combine them with the MVC architecture . You want the appropriate tool for the job, and servlets, by themselves, do not complete your toolkit.

1.2 SOURCE OF JSP  


The technique of JSP of the company of Sun, making the page of Web develop the personnel can use the HTML perhaps marking of XML to design to turn the end page with format. Use the perhaps small script future life of marking of JSP becomes the dynamic state on the page contents.


( the contents changes according to the claim of)

The Java Servlet is a technical foundation of JSP, and the large Web applies the development of the procedure to need the Java Servlet to match with with the JSP and then can complete, this name of Servlet comes from the Applet, the local translation method of now is a lot of, this book in order not to misconstruction, decide the direct adoption Servlet but don't do any translation, if reader would like to, can call it as" small service procedure". The Servlet is similar to traditional CGI, ISAPI, NSAPI etc. Web procedure development the function of the tool in fact, at use the Java Servlet hereafter, the customer need not use again the lowly method of CGI of efficiency, also need not use only the ability come to born page of Web of dynamic state in the method of API that a certain fixed Web server terrace circulate. Many servers of Web all support the Servlet, even not support the Servlet server of Web directly and can also pass the additional applied server and the mold pieces to support the Servlet. Receive benefit in the characteristic of the Java cross-


platform, the Servlet is also a terrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is complete to have nothing to do with terrace and is to have nothing to do with server of Web.


Java服务器页面(JSP)是一种根据脚本褶距离技术的网络,类似于携带的Java在Netscape的公司服务器端的JavaScript(SSJS)的服务器脚本语言和的Active Server Pages(ASP )微软的。 JSP比较SSJS和ASP有更好的可扩展性,它并不比任何工厂或网站的某一个特定的服务器更加独特。尽管JSP规范是由太阳公司的拟定,任何工厂可以进行JSP自己的系统上。

在日晒后释放JSP(Java服务器页面)正式挂牌,在这种新的Web应用开发技术很快引起了人们的关注。 JSP提供的是建立了高动态Web应用程序的一个特殊的开发环境。根据太阳的说法,JSP能够适应包括Apache网络服务器,IIS4.0在市场上85%的服务器产品的内部。

本章将介绍JSP和数据库,以及JavaBean的相关内容的相关知识,是所有肯定其中粗糙介绍基本内容,说的也许是一个指南而已,如果读者需要更详细的信息,取悦征询书同源JSP。

1.1概括

该JSP(Java服务器页)与Sun Microsystems公司的发起,众多企业参与到构建起来的一种动态状态的Web页面技术标准的同时,在它有它的建设在动态状态的网页强,但不把特别的功能。 JSP和Microsoft的ASP技术非常相似。双方都提供了一定的程序代码混合并利用语言引擎解释HTML的代码执行程序代码的能力。下面我们简单的介绍吧矣。

JSP页面转换成Servlet。所以,从根本上讲,任何任务JSP页面可以执行也可以通过servlet的实现。然而,这种底层的等同性并不意味着servlet和JSP页面对于所有的情况都等同适用。问题不在于技术的力量,这是方便,工作效率和一种或另一种的可维护性。毕竟,任何你可以在Java编程语言中的特定的计算机平台上做的,你也可以做汇编语言编写。但它仍然很重要,你选择。

JSP提供了单独的servlet以下好处:

•它更容易编写和维护的HTML。您的静态代码是普通的HTML:没有额外的反斜杠,没有双引号,也没有暗含的Java语法。

•您可以使用标准的网站开发工具。即使HTML工具一无所知JSP可以使用,因为它们会忽略JSP标签。

•您可以将您的开发团队。 Java程序员可以对动态代码。在Web开发人员可以集中表现层。对于大型的项目,这种划分是非常重要的。根据您的团队的大小,及项目的复杂程度,可以对静态HTML和动态内容进行或强或弱的分离。

现在,这种讨论并不是说你应该停止使用servlets,只使用JSP来代替。绝不。几乎所有的项目将同时使用。对于项目中的一些要求,你会使用servlet。对于其他人,你将使用JSP。对于另外一些人,你会用MVC架构将它们合并。你要作业的合适的工具和servlet,本身并不能完成你的工具包。

Sun公司的JSP的技术,使得网页的页面开发人员可以使用HTML标记也许XML的设计与格式打开尾页。使用JSP标记的或许小脚本今后的生活变得页面内容的动态状态。(根据索赔内容的变化)

在Java Servlet是JSP的技术基础,以及大型Web应用到需要Java Servlet来匹配与JSP,然后才能完成这个过程的发展,Servlet的这个名字来自于小程序,当地的翻译方法现在是为了很多,这本书不是误会,决定直接采用Servlet的,但不做任何转换,如果读者愿意,可以称之为“小服务程序”。该Servlet是类似于传统的CGI,ISAPI,NSAPI等的Web程序开发实际上工具的功能,在使用以后了Java Servlet,客户不必再使用效率的CGI卑微的方法,也不必只用该能力的API,某一固定Web服务器平台循环的方法来动态的网络的诞生页面。网站所有的多台服务器支持Servlet,即便不直接支持Web的Servlet的服务器,也可以通过附加应用服务器和模件支持Servlet。

相关文章
|
2月前
|
Java 容器
【学习笔记】Jsp与Servlet技术
【学习笔记】Jsp与Servlet技术
85 0
|
4月前
|
缓存 安全 Java
Java服务器端技术:Servlet与JSP的集成与扩展
Java服务器端技术:Servlet与JSP的集成与扩展
47 3
|
6月前
|
自然语言处理 前端开发 Java
Servlet与JSP:Java Web开发的基石技术详解
【6月更文挑战第23天】Java Web的Servlet与JSP是动态网页的核心。Servlet是服务器端的Java应用,处理HTTP请求并响应;JSP则是结合HTML与Java代码的页面,用于动态内容生成。Servlet通过生命周期方法如`init()`、`service()`和`destroy()`工作,而JSP在执行时编译成Servlet。两者在MVC架构中分工,Servlet处理逻辑,JSP展示数据。尽管有Spring MVC等框架,Servlet和JSP仍是理解Web开发基础的关键。
117 12
|
6月前
|
缓存 小程序 前端开发
Java服务器端技术探秘:Servlet与JSP的核心原理
【6月更文挑战第23天】Java Web开发中的Servlet和JSP详解:Servlet是服务器端的Java小程序,处理HTTP请求并响应。生命周期含初始化、服务和销毁。创建Servlet示例代码展示了`doGet()`方法的覆盖。JSP则侧重视图,动态HTML生成,通过JSP脚本元素、声明和表达式嵌入Java代码。Servlet常作为控制器,JSP处理视图,遵循MVC模式。优化策略涉及缓存、分页和安全措施。这些技术是Java服务器端开发的基础。
69 9
|
6月前
|
缓存 安全 Java
Java服务器端技术:Servlet与JSP的集成与扩展
【6月更文挑战第23天】Java Web开发中,Servlet和JSP是构建动态Web应用的基础。Servlet处理逻辑,JSP专注展示。示例展示了Servlet如何通过`request.setAttribute`传递数据给JSP渲染。JSP自定义标签提升页面功能,如创建`WelcomeTag`显示欢迎消息。Servlet过滤器,如`CacheControlFilter`,用于预处理数据或调整响应头。这些集成和扩展技术增强了应用效率、安全性和可维护性,是Java服务器端开发的关键。
75 7
|
6月前
|
存储 设计模式 搜索推荐
早期javeweb技术 JSP JDBC JSTJ Servlet BooStrap(下)
早期javeweb技术 JSP JDBC JSTJ Servlet BooStrap(下)
47 1
|
7月前
|
存储 安全 Java
Java的servlet和jsp技术
Java的servlet和jsp技术
77 11
|
6月前
|
XML 前端开发 Java
早期javeweb技术 JSP JDBC JSTJ Servlet BooStrap(上)
早期javeweb技术 JSP JDBC JSTJ Servlet BooStrap(上)
38 0
|
6月前
|
安全 Java 关系型数据库
基于JSP技术的个人网站系统
基于JSP技术的个人网站系统
|
6月前
|
安全 Java 关系型数据库
基于JSP技术的定西扶贫惠农推介系统
基于JSP技术的定西扶贫惠农推介系统

相关实验场景

更多