THETECHNIQUEDEVELOPMENTHISTORYOFJSP


2023年12月16日发(作者村居古诗)

carry out the JSP on own system.

1.1 GENER ALIZEinformation, pleasing the book of consult the homologous ts, say perhaps to is a Guide only, if the reader needs the more detailed

Underneath we are simple of carry on the introduction to JSP(Java Server Pages) is from the company of Sun Microsystems initiate,

THE TECHNIQUE DEVELOPMENT HISTORY OF JSPof Web. Though the norm of JSP is to be draw up by the Sun company of, any factory

new Web application development technique very quickly caused the people's

JavaBean related contents, is all certainly rougher introduction among them basic

adapt to include the Apache WebServer, IIS4.0 on the market at inside of 85% server

expand sex, and it is no more exclusive than any factory or some one particular server

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

equivalence does not mean that servlets and JSP pages are equally appropriate in all

The Java Server Pages( JSP) is a kind of according to web of the script plait

that establishes the high dynamic state. According to the Sun parlance, the JSP can

dynamic the state web the page technique standard, the it have the it in the

The After Sun release the JS P( the Java Server Pages) formally, the this kind of

This chapter will introduce the related knowledge of JSP and Databases, and

concern. JSP provided a special development environment for the Web application

the many companies the participate to the build up the together of the a kind the of

distance technique, similar carries the script language of Java in the server of the

perform could also be accomplished by servlets. However, this underlying

scenarios. The issue is not the power of the technology, it is the convenience,

the language engine to carry out the procedure code in the code of HTML.

construction the of the dynamic state the web page the strong but the do not the

Both all provide the ability that mixes with a certain procedure code and is explain by

especially of the function. JSP and the technique of ASP of the Microsoft is very alike.

JSP pages are translated into servlets. So, fundamentally, any task JSP pages can

between the static HTML and the dynamic assembly language. But it still matters which you : no extra backslashes, no double quotes, and no lurking Java nothing about JSP can be used because they simply ignore the JSP the complexity of your project, you can enforce a weaker or stronger separation

you will combine them with the MVC architecture . You want the apGFDGpropriate

tool for the job, and servlets, by themselves, do not complete your )1.2 SOURCE OF JSPJSP provides the following benefits over servlets alone:Web procedure development the function of the tool in fact, at use the Java Servlet

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

on the dynamic code. The Web developers can concentrate on the presentation layer.

only JSP instead. By no means. Almost all projects will use both. For some requests

On large projects, this division is very important. Depending on the size of your team

The technique of JSP of the company of Sun, making the page of Web develop

The Java Servlet is a technical foundation of JSP, and the large Web applies the

• It is easier to write and maintain the HTML. Your static code is ordinary

in your project, you will use servlets. For others, you will use JSP. For still others,

Now, this discussion is not to say that you should stop using servlets and use

• You can divide up your development team. The Java programmers can work

the personnel can use the HTML perhaps marking of XML to design to turn the end

a particular computer platform in the Java programming language you could also do

• You can use standard Web-site development tools. Even HTML tools that

method of now is a lot of, this book in order not to misconstruction, decide the direct

small service procedure". The Servlet is similar to traditional CGI, ISAPI, NSAPI etc.

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

productivity, and maintainability of one or the other. After all, anything you can do on

need not use only the ability come to born page of Web of dynamic state in the

adoption Servlet but don't do any translation, if reader would like to, can call it as"

hereafter, the customer need not use again the lowly method of CGI of efficiency, also

Java Servlet is very not start a progress to the each claimses, and make use of the multi-threading

Web. Because the Java Servlet is internal to provide the service by the line distance,

of the Java Servlet, the SUN released the ce and distend."also pass the additional applied server and the mold pieces to support the Servlet.

which at that time was a new Java technology. The moderator asked the manager

product from the very software company of the aforementioned manager) popularized

A number of years ago, Marty was invited to attend a small 20-person industry

all support the Servlet, even not support the Servlet server of Web directly and can

ISAPI, the NSAPI method, the Java Servlet is to make use of to output the HTML

language sentence 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

But the Java Servlet also is not to has no weakness, similar to traditional CGI,

and if it seemed to be catching on, they would follow his company's usual "embrace

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,

James Gosling, inventor of the Java programming g several seats away

terrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is

it seemed to be an excellent idea. He went on to say that they would keep an eye on it,

invent the idea of designing pages as a mixture of static HTML and dynamic code

complete to have nothing to do with terrace and is to have nothing to do with server of

roundtable discussion on software technology. Sitting in the seat next to Marty was

Receive benefit in the characteristic of the Java cross-platform, the Servlet is also a

mechanism can at the same time for several claim service, therefore the efficiency of

what he thought of it, and the manager responded that it was too early to tell, but that

But guess what? The shoe is on the other foot here. The Java community did not

marked with special tags. For example, Cold Fusion did it years earlier. Even ASP (a

this approach before JSP came along and decided to jump on the bandwagon. In fact,

method of API that a certain fixed Web server terrace circulate. Many servers of Web

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

and extend" strategy. At this point, Gosling lightheartedly interjected "You mean

ASP did.1.3JSP CHARACTERISTICSagain, almost can use all Javas in the of the document of JSP to separate website of logic and as JavaScript and VBScript), the norm of JSP also allows to use other logical manifestations is, the personnel who renews the page external appearance

the Java is the tacit approval, however, be like the ASP and can use other languages(

SSJS, it also allows you carry the static state HTML contents and servers the script

mix to put together the born dynamic state exportation. JSP the script language that

need not know the code of Java, and renew the JavaBeans personnel also need not be

code of Java in the template thus, this means that these templates can be written the

page development tool of the type, such as ASP, PHP3 etc., because speed etc. reason,

layer technique, it makes the plait write the HTML to become more like the

JSP not only adopted the general idea, it even used many of the same special tags as

translate type while carry out, not explain the type of. Explain the dynamic state web

have already can't satisfy current the large electronic commerce needs appliedly,

The JSP is an establishment at the model of Java servlets on of the expression

Be a kind of according to text originally of, take manifestation as the central

Is a service according to the script language in some one language of the

the website that page constitute. JavaBeans completes the data to provide, having no

design the web page of expert in hand, can use to take the page of JavaBeans JSP to

define the template of Web, to build up a from have the alike external appearance of

personnel by a HTML plait to support. Certainly, can also make use of the Java

Servlet to control the logic of the website, adjust through the Java Servlet to use the

language. However, be a kind of script language, the JSP seemed to be too strong

manifestation that simple way that logic separate. Separate the contents and advantage

statures system this kind of discuss, the JSP should be see make is a kind of script

traditional development techniques are all at to edit and translate the executive way

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

change, such as the ASP → ASP+;PHP3 → lly speaking, in actual engine of JSP, the page of JSP is the edit and

should is related with Java.1.4JSP MECHANISMdevelops for the web page of the center" first.

fast development easily. However, along with change of time, the people know that

Enterprise JavaBeanses because of the JSP strong function to work together, so even

only passing to shear to slice and glue to stick then can drive heavy use. Express the

relation with Java also is can of, however, mainly lie in the ability and JavaBeans, the

the procedure member to try to change an external appearance that applies the

and the expression logic enter the original web page entirely heap what better solve

procedure. The expression logic write in the script environment was lock in the page,

of maintenance be like to walk the similar difficulty on the eggshell. In fact in the

plait to write, because have no fit tool and can carry the script and the HTML contents

The SSJS and ASP are all in several year ago to release, the network of that time

To comprehend the JSP how unite the technical advantage that above various

speak of, come to carry out various result easily, the customer must understand the

actually this a few script languages also are to set up on the Java, edit and translate for

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

the method. This kind of model that take page as the center studies and gets the very

business enterprise, heavy use the application of the module already through very

the Servlet to carry out of. Write according to the norm of JSP, have no Scriptlet of

is the Scriptlet part not to use the Java, edit and translate of performance code also

logic to usually mix together with business and the data logics, when this makes be

is still very young, no one knows to still have in addition to making all business, datas

procedure but do not want to break with its llied business logic, apply the procedure

differentiation of" the module develops for the web page of the center" and" the page

this kind of method is unwell in set up large, the Web that can upgrade applies the

mature, no one would like to rewrite those logics for their applied

and sketch the designer handed over to the implement work of their design the Web

knot to the server to put together. Chien but speech, apply the complexity of the

In the JSP norm book, did not request the procedure in the JSP code part( be

plait the one who write, make they have to double work- Usually is the handicraft

JavaBeans.

page call sign or Java page as the center limits sex to become to get up obviously.

procedure along with the Web to promote continuously, the development method that

state HTML code. The Beans can be JavaBeans or module of EJBs. Moreover, the

them automatically byte code of fetch the usage directly but need not control the expertise of this the developer of Java can pass the JSP label( Tags) to use the JavaBeans that the

Java in the JSP page even all converts into the big piece together with the static state

logic processing and module of JavaBeanses' hand over with each other, and the

with the JavaBeans and Enterprise JavaBeans( EJB) module includes the model of the

directly was send to JSP page in. The code of JSP controls to carry on hour of the

accurately in the JSP page according to the expression logic of the first floor

At the same time, the people always at look for the better method of build up

terraces to use to come to show in the HTML page from the contents of JavaBeans

module for the perpendicular application plait in the skill area, but the developer can

business and the data logic for foundation, provide a great deal of label and a script

as the center of the JSP, it can drive Java and not the developer of Java uses equally.

creation or send a present in return. Because of the property that regards the module

the Web application procedure, the module spreads in customer's machine/ server

deluxe developer of Java establish. The developer of Java not only can establish and

use the JavaBeans, but also can use the language of Java to come to control more

the procedure developer for Java and Windows to use to come to develop the

the realm. JavaBeans and ActiveX were published the company to expand to apply

See now how JSP is handle claim of HTTP. In basic claim model, a claim

customer can not see to go to by the engine of JSP, then the Servlet edits and translate

complicated procedure quickly by" the fast application procedure development"(

RAD) tool. These techniques make the expert in the some realm be able to write the

Be a kind of take module as the central development terrace, the JSP appeared. It

more complicated claim model can see make from is request other JSP pages of the

The engine of JSP wants to chase the code of Java that the label of JSP, code of

manifestation result in dynamic state bornly, mixing with the HTML page of the static

HTML contents actually. These codes piece was organized the Java Servlet that

Thus, the visitant that is the website requests a JSP page, under the condition of

need that you are is direct is mutually the connection with server. And say for the CGI, each

system to output the equipments to carry out the dynamic state web page born, but the

Web. The next in order, the JSP is specialized to develop but design for the Web of,

its purpose is for building up according to the Web applied procedure, included the

interview needs to add to add a progress to handle, the progress build up and destroy

by burning constantly and will be a not small burden for calculator of be the server of

norm and the tool of a the whole set. Use the technique of JSP can combine a lot of

speed, the traditional procedure of CGI needs to use the standard importation of the

JSP pages to become a Web application procedure very ate the code, so the JSP can bring vivid sex that function and fast developments

Servlet is to edit and translate of, so the code of JSP in the web page does not need

and translate completes all works, very concealment but again and efficiently. The

and translate after Servlet the code end is modify only once, then this Servlet that

when the every time requests that page is explain. The engine of JSP need to be edit

editted and translate can be carry out. The in view of the fact JSP engine auto is born

to edit and translate the Servlet also, need not procedure member begins to edit and

Compared with the traditional CGI, the JSP has the equal advantage. First, on the

it is not knowing, an already born, the Servlet actual full general that prepared to edit


本文发布于:2024-09-20 22:48:14,感谢您对本站的认可!

本文链接:https://www.17tex.com/fanyi/5213.html

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

标签:村居   古诗   作者
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议