﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Mark's Java Blog-随笔分类-AJAX</title><link>http://www.blogjava.net/mark1207/category/27891.html</link><description>MyEclipse, Java EE, Spring, Struts, Hibernate, JPA, SWT, Swing, AJAX, JavaScript,SOA</description><language>zh-cn</language><lastBuildDate>Sun, 20 Apr 2008 22:27:42 GMT</lastBuildDate><pubDate>Sun, 20 Apr 2008 22:27:42 GMT</pubDate><ttl>60</ttl><item><title>Ajax 在企业应用上的优势（转）</title><link>http://www.blogjava.net/mark1207/archive/2008/04/21/194412.html</link><dc:creator>Mark</dc:creator><author>Mark</author><pubDate>Sun, 20 Apr 2008 16:31:00 GMT</pubDate><guid>http://www.blogjava.net/mark1207/archive/2008/04/21/194412.html</guid><wfw:comment>http://www.blogjava.net/mark1207/comments/194412.html</wfw:comment><comments>http://www.blogjava.net/mark1207/archive/2008/04/21/194412.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/mark1207/comments/commentRss/194412.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/mark1207/services/trackbacks/194412.html</trackback:ping><description><![CDATA[为了帮助企业方便使用<a href="http://whatis.ctocio.com.cn/searchwhatis/252/7422252.shtml" target="_bank">Ajax</a>，供应商们正在设法降低它的使用难度。
<p>　　如今的网络用户都被宠坏了。他们一旦在谷歌公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/191/6093191.shtml" target="_bank">Google</a>)或Flickr网站体验过快捷的响应和良好的互动功能后，传统的点击-等待式的Web界面就再也无法满足他们的需求了。这些功能正是通过Ajax来实现的。由于Ajax所带来的商业价值日益凸现，微软公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/251/5948751.shtml" target="_bank">Microsoft</a>)和<a href="http://whatis.ctocio.com.cn/searchwhatis/446/7372446.shtml" target="_bank">开源</a>的开发者工作平台<a href="http://whatis.ctocio.com.cn/searchwhatis/431/7372431.shtml" target="_bank">Eclipse</a>的支持者们，最近正积极开发一些适合Ajax的平台，以便用户能够方便地利用这种工具来创建互动式的Web应用。</p>
<p>　　Ajax等网络开发工具和技术与传统的服务器端软件不同。服务器端软件普遍具有成熟的技术标准，而Ajax等网络开发技术尚还处在不断的变化中。Ajax是新兴的网络开发技术的象征。它将<a href="http://whatis.ctocio.com.cn/searchwhatis/403/5948403.shtml" target="_bank">Java</a>Script和<a href="http://whatis.ctocio.com.cn/searchwhatis/203/5949203.shtml" target="_bank">XML</a>技术结合在一起，用户每次调用新数据时，无需反复向服务器发出请求，而是在浏览器的缓存区预先获取下次可能用到的数据，界面的响应速度因此得到了显著提升。Google公司的地图服务(Google Maps)就是Ajax应用最典型的例子之一。</p>
<p>　　不久前，Eclipse开源项目的领导厂商，包括国际商业机器公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/199/5948199.shtml" target="_bank">IBM</a>)、英特尔公司(Intel)、红帽公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/56/6093556.shtml" target="_bank">Red Hat</a>)和思爱普软件系统公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/126/7787126.shtml" target="_bank">SAP</a>)等宣布，将把Eclipse从开发者工作平台扩展成能与微软公司在企业市场展开竞争的新平台。在日前召开的EclipseCon大会上，Eclipse基金会执行总监迈克&#183;米林科维奇(Mike Milinkovich)表示：&#8220;今后3年，微软公司可能会不断说服一些企业放弃Win32 API，并转向(Windows)Vista。&#8221;然而，米林科维奇却建议企业最好采用Eclipse的富客户平台。因为开发者采用这套组件，就可以在企业桌面应用程序创建交互性更好的界面，一次开发完毕后，在视窗系统(Windows)、<a href="http://whatis.ctocio.com.cn/searchwhatis/210/5948710.shtml" target="_bank">Linux</a>或者苹果系统上都能够运行。</p>
<p>　　<strong>Eclipse行动</strong></p>
<p>　　Eclipse项目组正在设法为用户提供除微软公司产品之外的更多选择。不久前，该项目组推出了一个开源项目Rich Ajax Platform(下称&#8220;<a href="http://whatis.ctocio.com.cn/searchwhatis/465/6028465.shtml" target="_bank">RA</a>P&#8221;)，吸引开发人员使用Eclipse来提供界面组件，包括视窗风格的菜单、拖动条以及支持拖曳功能的弹出窗口(Drag-and-Drop Window Expanders)等，目的是使Web应用在浏览器中更具有交互性。</p>
<p>　　不久前，IBM公司与Google公司、Laszlo系统公司、Mozilla公司、网威公司(Novell)、甲骨文公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/14/6093014.shtml" target="_bank">Oracle</a>)、红帽公司和雅虎公司(<a href="http://whatis.ctocio.com.cn/searchwhatis/66/6026566.shtml" target="_bank">Yahoo</a>)等多家企业，共同合作创建了一项开源项目Ajax Toolkit Framework，旨在建立一种基于Eclipse的软件系统，以降低在Eclipse平台内使用Ajax工具的难度。在此之前，使用Ajax开发程序并不那么容易。Google公司是在开发Google Maps的过程中发现这一点的。它发现地图上标记下的阴影或者两点之间的驾驶路线，都会因为浏览器的使用差异而产生不同的显示效果。不过，Google Maps产品经理布莱特&#183;泰勒(Bret Taylor)也表示：&#8220;Google公司在创建工具包方面投入了大量精力，因此大家对这些细节方面大可放心。&#8221;Eclipse项目在像Google公司这样的大公司帮助下，正在采用Google公司的方法，以便使所有企业都能更方便地使用Ajax技术。</p>
<p>　　而与此同时，微软公司也并没有在原地踏步。在日前举行的微软网络技术大会上，公司主席比尔&#183;盖茨(Bill Gates)发表了一篇主题演讲。盖茨在讲话中承认，新一轮的Web应用热潮即将到来。一些网站变得像传统软件的组件一样，可以被API调用，以及像子程序一样运行。&#8220;现在，富有创新想法的时代已经到来。&#8221;盖茨表示，&#8220;这是软件的新时代。&#8221;</p>
<p>　　日前，微软公司发布了一个自有Ajax开发工具—<a href="http://whatis.ctocio.com.cn/searchwhatis/373/7466873.shtml" target="_bank">Atlas</a>的升级测试版。它可以在应用程序的客户端创建标准的JavaScript。微软公司也开发了基于JavaScript的服务器端扩展程序，来优化Ajax应用在视窗电脑上的执行。这样，用Atlas编写的软件，可以与Windows Vista的各种元素产生互动。而且，采用Atlas编写的Web应用特别能够与Vista的其他程序产生互动，比如日历、即时通讯联系人、照相簿和媒体播放软件等。微软公司Web工具产品经理布赖恩&#183;戈德法伯(Brian Goldfarb)还透露说：&#8220;公司正在考虑其他更丰富的应用场景，从而可以更好地与<a href="http://whatis.ctocio.com.cn/searchwhatis/201/5948201.shtml" target="_bank">IE</a>浏览器和视窗系统进行配合。"</p>
<p>　　不过，微软公司在发布代号为&#8220;Orcas&#8221;的下一版本Visual Studio 时，才会正式推出Atlas工具。因此，距离Atlas的面世还要等上好几年的时间。而与此同时，Eclipse却在利用Ajax工具包而快速发展。</p>
<p>　　微软公司的优势就在于，能够把Atlas工具与公司的视窗系统、SQL Server数据库以及其他软件整合在一起。不过，IBM公司也以开源代码的形式，捐献出了Eclipse的核心工作平台技术，因为它也希望Java工具拥有与微软公司类似的集成度。</p>
<p>　　格雷格&#183;斯坦因(Greg Stein)是Google公司的工程经理、<a href="http://whatis.ctocio.com.cn/searchwhatis/299/6025299.shtml" target="_bank">Apache</a>软件基金会主席以及Apache Web服务器等项目的赞助人。斯坦因认为：&#8220;Eclipse是一种集成的开发环境，因此将会在一定程度上简化Ajax应用的开发难度。&#8221;而德国小型软件公司Innoopract公司的管理总监约亨&#183;克劳泽(Jochen Krause)也预测说，这个平台&#8220;将会把Eclipse的应用扩展到一个不同的领<a href="http://whatis.ctocio.com.cn/searchwhatis/194/7352194.shtml" target="_bank">域</a>，即互动Web应用领域。&#8221;RAP项目就是由这家公司提出的。</p>
<p>　　<strong>简单为上</strong></p>
<p>　　Eclipse项目将会给企业带来一定的帮助。有了Eclipse工具包，他们就无需掌握专门的JavaScript知识，可以在Eclipse的框架下工作。而大多数C语言、<a href="http://whatis.ctocio.com.cn/searchwhatis/441/5946941.shtml" target="_bank">C++</a>、Cobol、Java和<a href="http://whatis.ctocio.com.cn/searchwhatis/77/6026077.shtml" target="_bank">PHP</a>程序员，对于Eclipse都不陌生。加拿大研究委员会(National Research Council Canada)计算机系统官员丹尼&#183;达穆尔(Danny D&#8217;amours)表示：&#8220;我们的一些应用程序，响应时间会变得更快捷，而且还能够有更好的在线互动。&#8221;在Eclipse的Ajax framework项目中，&#8220;Ajax将会整合成为Eclipse开发环境的一部分。&#8221;达穆尔补充说道。</p>
<p>　　达穆尔会考虑使用微软公司的Atlas吗?看上去，他似乎对此不感兴趣。的确，微软和非微软阵营的对抗似乎依然处于紧张状态。尽管企业往往会同时采用Visual Studio与Eclipsebased的开发工具，很可能也包括两者的Ajax和Web应用技术。</p>
<p>　　企业通过使用Ajax，可以强化网站的功能，提高用户体验。他们可以滚动屏幕浏览大量的信息，或者方便地把物品拖入在线购物车，或者在线配置产品而无需不断地刷新页面。其实，不仅仅是Google这样的公司在使用Ajax，Lands&#8217;End网站和沃尔沃公司(Volvo)等也在使用Ajax技术让潜在的客户设计他们的产品或汽车，而且Sabre控股公司(Sabre Holdings)也采用了Ajax技术来减少其航空公司客户使用的飞行计划软件的响应时间。</p>
<img src ="http://www.blogjava.net/mark1207/aggbug/194412.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mark1207/" target="_blank">Mark</a> 2008-04-21 00:31 <a href="http://www.blogjava.net/mark1207/archive/2008/04/21/194412.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>