jsp简介(外文文献翻译).doc

约6页DOC格式手机打开展开

jsp简介(外文文献翻译),david markley is a software engineering manager at terra lycos. he writes games on the side and is most known for hextris. he hopes one day to live in a hobbit ...
编号:6-206282大小:60.00K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

David Markley is a software engineering manager at Terra Lycos. He writes games on the side and is most known for Hextris. He hopes one day to live in a Hobbit hole ("They're environmentally friendly, don't you know...")
Page 1.
Choosing a server-side language used to be easy. Way back when, CGI was pretty much the only scripting option out there. Intrepid developers could write their own server extensions, but few were up to the challenge, and the gap between these two options (inefficient CGI scripts and extremely complex server extension development) was huge.
Microsoft tried to fill this hole with Active Server Pages (ASP), which allow developers to use simple scripting to access the server and its extensions. But while ASP gives you an efficient way to return dynamic content, it essentially limits you to Microsoft platforms, and even the simplest of scripting mistakes can cause the server to crash or hang, effectively bringing down your website.
Apparently in response to ASP, Sun Microsystems gave the world JavaServer Pages (JSP) technology, which is based entirely upon Sun's popular Java programming language and gives developers the advantages of developing in Java in a more relaxed, script-like environment. Behind the scenes, JSP pages are dynamically assembled into Servlets, which are simply Java classes. This means JSP supports the same modularity, reusability, platform-independence, and access to Java APIs that Java programming supports.
David Markley 是Terra Lycos 公司的一位软件工程经理。 他兼职编写游戏软件,其中以 Hextris 最为出名。 他希望一天到活在Hobbit hole中 ("他们环境非常友好,难道你不知道吗……"。)
第 1 页.
选择一个服务器语言过去一直容易。 过去,CGI 是唯一的脚本语言选项。大胆的开发者可以写他们自己的服务器扩充,但是很少有人决定挑战,而且在这二个选择项 (效率低的 CGI 脚本和服务器扩展的极端复杂) 之间的间隙是极大的。
微软公司尝试用动态服务器网页 (Active Server Page 即ASP)技术来填补这个空隙, 它允许开发者使用简单的脚本程序访问服务器和它的扩充。但是ASP给你一个有效率的方法返回动态的内容,它本质上限制你只能在微软公司的平台上才能工作,而且甚至最简单的脚本错误能引起服务器崩溃或者瘫痪,使你的网站不能运行。
显然地,对ASP作出反应,Sun公司向世界推出了JavaServerPage(即JSP) 技术,完全地建立在Sun公司的最通俗的Java语言编程基础上,而且给开发者创造一个轻松的类似脚本的Java开发环境。 其实, JSP 页被动态地装载入 了Servlets 之内, 一种Java类。 这意谓着JSP 支持所有Java支持的特性:模块化, 可重复使用性,平台无关性和对Java API的存取访问。