没有合适的资源?快使用搜索试试~ 我知道了~
毕业设计-jsp的技术发展历史外文翻译论文.doc
0 下载量 107 浏览量
2023-06-30
04:07:02
上传
评论
收藏 69KB DOC 举报
温馨提示
试读
17页
毕业设计-jsp的技术发展历史外文翻译论文.doc
资源推荐
资源详情
资源评论
THE TECHNIQUE DEVELOPMENT HISTORY OF JSP
By:Kathy Sierra and Bert Bates
Source: 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 JS P( 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.
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 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 apGFDGpropriate 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 he 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. 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.
The JSP is an establishment at the model of Java servlets 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 servers 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 use other languages( such as
JavaScript and VBScript), the norm of JSP also allows to use other
languages.
剩余16页未读,继续阅读
资源评论
智慧安全方案
- 粉丝: 3702
- 资源: 59万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 程氏舞曲V4.2程氏舞曲V4.2程氏舞曲V4.2程氏舞曲V4.2
- FPGA读写 AD9708+ AD9280 ADDA实验Verilog逻辑源码Quartus工程文件+文档说明+硬件参考原理图
- 基于CH340C设计USB转TLL串口通信模块PADS 9.5设计硬件(原理图+PCB)文件.zip
- 信号与系统大作业-图像处理 实现了直接滤波法维纳滤波法最小二乘滤波法LR递归法matlab源码.zip
- php-leetcode题解之最小栈.zip
- php-leetcode题解之最长不含重复字符的子字符串.zip
- php-leetcode题解之最长公共前缀.zip
- php-leetcode题解之最小差值.zip
- php-leetcode题解之最小基因变化.zip
- php-leetcode题解之最小路径和.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功