THETECHNIQUEDEVELOPMENTHISTORYOFJSP

更新时间:2023-07-07 18:37:38 阅读: 评论:0

THE TECHNIQUE DEVELOPMENT HISTORY OF 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 rver of the Netscape company of rver- side JavaScript( SSJS) and the Active Server Pages(ASP) of the Microsoft. JSP compares the SSJS and ASP to have better can expand x, and it is no more exclusive than any factory or some one particular rver 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 relea the JS P( the Java Server Pages) formally, the this kind of new Web application development technique very quickly caud 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% rver product.know是什么意思
This chapter will introduce the related knowledge of JSP and Databas, 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 GENER ALIZE
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 rvlets. So, fundamentally, any task JSP pages can perform could also be accomplished by rvlets. However, this underlying equivalence does not mean that  rvlets 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 asmbly language. But it still matters which you choo.
夏天英文
JSP provides the following benefits over rvlets 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.proactive
• You can u standard Web-site development tools. Even HTML tools that know nothing about JSP can be ud becau 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 prentation 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 paration between the static HTML and the dynamic content.
Now, this discussion is not to say that you should stop using rvlets and u only JSP instead. By no means. Almost all projects will u both. For some requests in your project, you will u rvlets. For others, you will u JSP. For still others, you will combine them with the MVC architecture . You want the apGFDGpropriate tool for the job, and rvlets, by themlves, 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 u the HTML perhaps marking of XML to design to turn the end page with format. U 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 rvice procedure". The Servlet is similar to traditional CGI, ISAPI, NSAPI etc. Web procedure development the function of the tool in fact, at u the Java Servlet hereafter, the customer need not u again the lowly method of CGI of efficiency, also need not u only the ability come to born page of Web of dynamic state in the
method of API that a certain fixed Web rver terrace circulate. Many rvers of Web all support the Servlet, even not support the Servlet rver of Web directly and can also pass the additional applied rver 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 S
ervlet, the Servlet is complete to have nothing to do with terrace and is to have nothing to do with rver of Web. Becau the Java Servlet is internal to provide the rvice by the line distance, need not start a progress to the each claims, and make u of the multi-threading mechanism can at the same time for veral claim rvice, therefore the efficiency of Java Servlet is very high.
But the Java Servlet also is not to has no weakness, similar to traditional CGI, ISAPI, the NSAPI method, the Java Servlet is to make u of to output the HTML language ntence to carry out the dynamic state web page of, if develop the whole website with the Java Servlet, the integration process of the dynamic state part and the static state page is an evil-foreboding dream simply. For solving this kind of weakness of the Java Servlet, the SUN relead the JSP.
A number of years ago, Marty was invited to attend a small 20-person industry roundtable discussion on software technology. Sitting in the at next to Marty was James Gosling, inventor of the Java programming language.Sitting veral ats away was a high-level manager from a very large software company in Redmond, Washington. During the discussion, the moderator brought up the subject of Jini, which at that time was a new Java technology. The moderator asked the manager what he thought of it, and the manager responded that it was too early to tell, but that it emed to be an excellent idea. He went on to say that they would keep an eye on it, and if it emed to be cat
时刻表英文ching on, they would follow his company's usual "embrace and extend" strategy. At this point, Gosling lightheartedly interjected "You mean disgrace and distend."
Now, the grievance that Gosling was airing was that he felt that this company would take technology from other companies and suborn it for their own purpos. But guess what? The shoe is on the other foot here. The Java community did not invent the idea of designing pages as a mixture of static HTML and dynamic code marked with special tags. For example, Cold Fusion did it years earlier. Even ASP (a product from the very software company of the aforementioned manager) popularized this approach before JSP came along and decided to jump on the bandwagon. In fact,
JSP not only adopted the general idea, it even ud many of the same special tags as ASP did.
The JSP is an establishment at the model of Java rvlets on of the expression layer technique, it makes the plait write the HTML to become more simple.Be like the SSJS, it also allows you carry the static state HTML contents and rvers the script mix to put together the born dynamic state exportation. JSP the script language that the Java is the tacit approval, however, be like the ASP and can u other languages( such as JavaScript and VBScript), the norm of JSP also allows to u other languages.
n1报名
1.3JSP CHARACTERISTICSsike>可能的英文
Is a rvice according to the script language in some one language of the statures system this kind of discuss, the JSP should be e make is a kind of script language. However, be a kind of script language, the JSP emed to be too strong again, almost can u 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 that simple way that logic parate. 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 u to take the page 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 the templates can be written the personnel by a HTML plait to support. Certainly, can also make u of the Java Servlet to control the logic of the website, adjust through the Java Servlet to u the way of the document of JSP to parate website of logic and contents.
Generally speaking, in actual engine of JSP, the page of JSP is the edit and translate 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., becau speed etc. reason, have already can't satisfy current the large electronic commerce needs appliedly, traditional development techniques are all at to edit and 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 languages such as the EMAC- Script, etc., but actually this a few script languages also are to t 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 Enterpri JavaBeans becau of the JSP strong function to work together, so even is the Scriptlet part not to u the Java, edit and translate of performance code also should is related with Java.
1.4JSP MECHANISM
To comprehend the JSP how unite the technical advantage that above various speak of, come to car
ry 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 ASP are all in veral year ago to relea, the network of that time is still very young, no 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, the people know that this kind of method is unwell in t 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 u. Express the logic to usually mix together 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 in the business enterpri, heavy u the application of the module already through very mature, no one would like to rewrite tho 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 double work- Usually is the handicraft plait to write, becau have no fit tool and c
an carry the script and the HTML contents knot to the rver to put together. Chien but speech, apply the complexity of the
>烧包

本文发布于:2023-07-07 18:37:38,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/1084073.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图