一个应用程序,它不得不把信息从屏幕上"刮下来"(由于网站和应用程序设计者改变网页的显示格式和来回移动部件,所以这项工作注定要失败),或者它不得不用专用的后台频道。
Yodlee公司就是采用双策略的例子,它是一家向银行和门户网站提供财务整合服务的公司。Yodlee或是通过登录进入和假装是你将你的支票和信用卡资产负债表从网页上得到,或者分别请求每家金融机构发送数据。
这是一个很慢的过程,也正是Web服务这类技术能够更好地发挥作用的地方。
下面是一个假想的例子,如果银行能建立合适的Web服务,Yodlee公司将会在一两年内如何工作:因为回应数不清的数据发送的请求而疲于奔命的各家银行,有可能建立提供资产负债平衡表的Web服务。
Web服务的地址将在目录(即通用描述、发现和集成目录)中公布,该目录确定每个Web服务在因特网上的地址。
然后,每家银行会对Web服务需要什么作为输入、又能返回什么样的信息编写说明。例如,银行需要客户的账号和个人身份号码或口令,以及确认信息已经付费。此说明的格式使用基于XML的Web服务描述语言定义。
在前端,银行需要把对客户资产负债平衡表的访问,限制在经批准、有选择的中介人名单中。这需要通过口令、公开密钥或其他机制进行认证,接下来
可能要对请求进行优先化处理,比方说,根据为此服务向银行支付的客户数量来决定优先等级。最后,要确认此服务的付款已收到,甚至还有可能要发送发票。
有几家公司争相要使所有这些功能变成Web服务。其中一家位于旧金山、叫GrandCentralNetworks的公司提供对认证方法、访问限制和优先化的选择。另一家认证和安全提供商是纽约的CertCo公司。
如果有家银行要从擦去(信息)来构建系统,可以用微软公司提供的BizTalk服务器,该服务器能处理登录、认证和路由。在后台,Web服务不得不弄到每个客户的资产负债平衡表。一个办法就是从绿色屏幕或其他界面上取出数据。这不比今天所发生的先进多少,除非银行本身能完成擦除工作,因而能控制此过程。
另一个替代办法就是把老的应用程序改造成Web服务,其办法是增加程序代码或重新编译,让应用程序在如微软公司新的.Net这样的平台上运行。微软公司声称,.Net标准倡议支持多种语言,能把老的应用程序变成Web服务。
现存的中间件基础结构也能用于此目的,主要的供应商争相推出此类产品,如IBM的WebSphere和BEA系统公司的WebLogic。
现在真正重要的问题涉及到Web服务的长远影响。当新的应用程序能不管是什么样的机器、语言、操作系统和中间件都能交互时,会出现什么情况呢?基于这样的功能会产生怎样的、尚未预见到的新应用程序?我们能不能非常有把握地保证不断增加的流量?
附录2
WebServices
AsmoreandmorecompaniesseektoconductsignificantbusinessovertheInternet,theyfacetheproblemofmakingtheirapplicationsworkwiththoseoftheircustomersandsuppliers.
Thedifficultywiththistypeofintegrationisn'tthatit'shardtogetapplicationstosenddataandinstructionstooneanother-youjustdecideonacommonstandard,writeanyneededconverters,andthat'sit.Butasthenumberofapplicationsgoesup,thenumberofpossiblecommunicationspathsincreasesmuchfaster.
Untilrecently,theonlysolutiontothisproblemwastogowithamiddlewareproduct.Forexample,theWindowsoperatingsystem,whichyoucanthinkofasaverysuccessfulmiddlewareapplication,providesacommonmessagingenvironmentformuchoftoday'sdesktopsoftware.Butsuddenly,allofthosemiddlewarevendors(includingMicrosoftCorp.)arescramblingfuriouslytopositionthemselvestosurvivewhat'sabouttobeabigshocktothecurrentsystem:Webservices.
Webservicesareapplicationsthatuseauniversallanguagetosenddataandinstructionstooneanother,withnotranslationrequired.AndtheyusetheInternet,somostoftheconnectionproblemsareeliminated.
Sofar,theInternethasbeenusedprimarilyinapeople-centricway.ApplicationssendoutdataforhumanstoreadthroughWebbrowsers.Ifanotherapplicationisonthereceivingend,ithasto"scrape"theinformationoffthescreen(ataskboundtofailasWebandapplicationdesignerschangepagelayoutsandmoveelementsaround),orithastouseadedicatedbackchannel.
AnexampleofacompanyusingbothstrategiesisYodlee.Com.Inc.,aprovideroffinancialaccountaggregationservicestobanksandportals.YodleeeitherscrapesyourcheckingandcreditcardbalancesoffWebpagesbylogginginandpretendingtobeyou,oritaskseachfinancialinstitutionindividuallytosenditthedata.
It'saslowprocess.AndjustthekindofthingWebservicescouldhandlebetter.
Here'sahypotheticalexampleofhowYodleecouldworkinayearortwo,ifbanksweretocreateappropriateWebservices:Tiredoffieldingnumerousrequestsfordatafeeds,eachbankcouldsetupaWebservicethatprovidesaccountbalances.
TheaddressoftheWebservicewouldbepublishedinadirectory--theUniversalDescription,DiscoveryandIntegrationdirectory--whichlocateseachWebserviceontheInternet.
TheneachbankwouldwriteadescriptionofwhatitsWebservicewouldrequireasinputandwhatinformationwouldbegivenoutinreturn.Forexample,thebankwouldwantthecustomer'saccountnumberandpersonalidentificationnumberor
password,andconfirmationthatpaymentfortheinformationhadbeensent.TheformatforthisdescriptionwouldbedefinedintheXML-basedWebServicesDescriptionLanguage.
Onthefrontend,thebankwouldneedtolimitaccesstocustomers'accountbalancestoaselectlistofapprovedintermediaries.Thatwouldrequireauthenticationthroughpasswords,publickeysorothermechanisms.Thenitmightwanttoprioritizerequests--say,byhowmuchcustomersarepayingthebankfortheservice.Finally,itwouldwanttoconfirmthatpaymentfortheservicehadarrivedandmaybeevensendareceipt.
SeveralvendorsarelininguptoenableallofthesefunctionsasWebservices.OnesuchvendorisGrandCentralNetworksInc.inSanFrancisco,whichoffersachoiceofauthenticationmethods,accessrestrictionandprioritization.AnothersecurityandauthenticationproviderisNewYork-basedCertCoInc.
Ifabankwantedtobuildasystemfromscratch,MicrosoftoffersBizTalkServer,whichcanhandlelogging,authenticationandrouting.Onthebackend,theWebservicewouldhavetogeteachcustomer'sbalancesomehow.Onewaywouldbetoscrapethedataoffagreenscreenorotherinterface.Thisisn'tmuchmoreadvancedthanwhathappenstoday,exceptthatthebankitselfwouldbedoingthescrapingandthuscouldcontroltheprocess.
AnotheralternativewouldbetoturnthelegacyapplicationintoaWebservicebyaddingcodeorrecompilingittorunon,say,Microsoft'semerging.Netplatform.Microsoftclaimsthatits.NetinitiativesupportsavarietyoflanguagesandthatitwillbeabletoturnlegacyapplicationsintoWebservices.
Existingmiddlewareinfrastructurescouldalsobeusedforthatpurpo
上一篇:
VB药品供销存贮系统vb+access(论文和程序)
下一篇:
马克思主义基本原理概论论文大学论文