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。 Because the Java Servlet is internal to provide the service by the
line distance , need not start a progress to the each claimses, and make use of
the multi-threading mechanism can at the same time for several claim service,
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 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 of the Java Servlet, the SUN released 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 seat next to Marty
was James Gosling , inventor of the Java programming language. Sitting several
seats 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 seemed to be an excellent idea. He went on to say that they would keep an
eye on it, and if it seemed to be catching 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
purposes. 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 used many of
the same special tags as ASP did.
评论0
最新资源