欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    A Brief Introduction to Grid Services.ppt

    • 资源ID:373135       资源大小:679.50KB        全文页数:18页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    A Brief Introduction to Grid Services.ppt

    1、A Brief Introduction to Grid Services,Yogesh L. SimmhanExtreme! Computing LabComputer Science DepartmentIndiana University,Extreme! Computing Lab Computer Science Dept., Indiana University,What are Grid Services?,Grid Computing Share information and processing capacities on Grid Resources Network-en

    2、abled entity that provides specific capability Interact with it using Messages Response behavior based on Service State Simple Internet Based Standards (XML, HTTP) for Interoperability Web Services with additional features HTTP, SOAP, XML, (G)WSDL,Extreme! Computing Lab Computer Science Dept., India

    3、na University,Grid Services Vs. Web Service,Transient in Nature (Lifetime, Migration) Stateful Service Service Data Elements (SDE) Introspection GWSDL Vs. WSDL Service Data Definitions PortType (=Interface) Inheritance Standard Required Interfaces for all Services Lifetime Management Service Data In

    4、teraction Interfaces Predefined for Common Services,Extreme! Computing Lab Computer Science Dept., Indiana University,The OGSI Specification,Open Grid Services Infrastructure (v1.0) Global Grid Forum Standard Grid Service PortType Factory PortType Service Creation Handle Resolver Dynamic Location Lo

    5、okup Grid Service Handle (http:/extreme/gannon/foo-service) Grid Service Reference (http:/rainier:8080/foo-service) Service Group Register Service Metadata Entry = Metadata Content + Service Location Notification PortType Messaging service Web-Services Resource Framework (WSRF),Extreme! Computing La

    6、b Computer Science Dept., Indiana University,Grid Service Pattern,SDE:http:/extreme/services/foo/my-servicemyContent,GSH = http:/extreme/services/service-registry GSR (URL) = http:/rainier:20202/service-registry,Service Group Registry,My Grid Service,GSH = http:/extreme/services/foo/my-service GSR (

    7、URL) = http:/ooty:8080/foo-service,Handle Resolver,GSH = http:/extreme/services/handle-resolver GSR (URL) = http:/rainier:10101/handle-resolver,1,2,4,3,5,6,Add Mapping: http:/extreme/services/service-registry http:/rainier:20202/service-registry,Start Handle Resolver Service,Start Registry Service,S

    8、tart Your Grid Service,Add Mapping: http:/extreme/services/foo/my-service http:/ooty:8080/foo-service,Register Metadata Content about your service and the GSH (http:/extreme/services/foo/my-service),Entry SDE created for your service,7,Extreme! Computing Lab Computer Science Dept., Indiana Universit

    9、y,Get all Entries about services. Returns Metadata Content and the GSH (http:/extreme/services/foo/my-service),SDE:http:/extreme/services/foo/my-servicemyContent,Grid Service Client Pattern,GSH = http:/extreme/services/service-registry GSR (URL) = http:/rainier:20202/service-registry,Service Group R

    10、egistry,My Grid Service,GSH = http:/extreme/services/foo/my-service GSR (URL) = http:/ooty:8080/foo-service,Handle Resolver,GSH = http:/extreme/services/handle-resolver GSR (URL) = http:/rainier:10101/handle-resolver,Select your service and get GSR for GSH http:/extreme/services/foo/my-service. Retu

    11、rns http:/ooty:8080/foo-service.,Client,3,2,Handle Resolver URL = http:/rainier:10101/handle-resolver Your Service Handle = http:/extreme/services/foo/my-service OR locate from Registry GSH = http:/extreme/services/service-registry,4,Invoke method on service,Get GSR for registry GSH http:/extreme/se

    12、rvices/service-registry. Returns http:/rainier:20202/handle-resolver,1,Introduction to Grid Services eXtensions (GSX),Extreme! Computing Lab Computer Science Dept., Indiana University,What is GSX?,Implementation of OGSI v1.0 Specification Lightweight Grid Services Document as a Service? Experiment o

    13、n Scalable Services Make it Simpler to write Grid Services Predefined Interfaces and Implementations of Standard Grid Services (Resolver, Registry) Make it easier to run Grid Services No starting Apache Tomcat HTTP Servers and deploying each service,Extreme! Computing Lab Computer Science Dept., Ind

    14、iana University,Web Services Utility Library (WSUL),A.k.a. XSUL Alek Slominski Mini HTTP Server Extensible Add a stack of Message Processors SOAP Message Processing Message Routing XML Signature Processing Client side SOAP Message Invocation Gives RPC view of XML document exchange,Extreme! Computing

    15、 Lab Computer Science Dept., Indiana University,WSUL,HTTP (Mini) Server,SOAP Message Router,HTTP POST,HTTP GET/PUT,HTTP (Mini) Servlet,Chain,Inter- face A,Inter- face B,Inter- face N,GSX GridServiceImplB,User Impl ClassA,User Impl ClassN,WSUL,Service Invoker Proxy,Interface A,XML Sign. & Authorizati

    16、on,SOAP RPC Invoker,HTTP Invoker,GSX Client Library,User Client,HTTP on the Wire (TCP/IP),GSX/WSUL Communication Stack,Extreme! Computing Lab Computer Science Dept., Indiana University,PortTypes implemented in GSX,Grid Service PortType GridServiceImpl.java Manage SDEs Manage Service Lifetime Handle

    17、Resolver PortType HandleResolverImpl.java Adding and Querying GSR-GSH Mappings In-memory and Persistent (MySQL) versions Service Group Registry ServiceGroup*Impl.java Adding and Querying Service Metadata Entries In-memory and Persistent (Xindice XML DB) versions Extend GridServiceImpl and you have a

    18、 Grid Service! Samples for starting Handle Resolver and Service Group are available,Extreme! Computing Lab Computer Science Dept., Indiana University,Managing Service Data Elements,XML Metadata that describes the services properties and state GridService Predefined Service Data Elements Interface, S

    19、erviceDataName, GridServiceHandle, GridService Reference User Defined Service Data Elements Any XML Document can be added Service Data Manager available to manage SDEs In-memory and Persistent (Xindice XML DB) versions Use SDM from within your code and SDEs are automatically available through GridSe

    20、rviceImpl,Extreme! Computing Lab Computer Science Dept., Indiana University,Document and RPC Styles,Services methods can have RPC or Document style int sum(int j, int k) return j + k; SumResponseDoc sum(SumRequestDoc) . Invoke Services using RPC or Documents int j=5, k=6; int i = sumServiceInvoker.s

    21、um(j, k); (i = 11) SumRequestDoc = 5 6 SumResponseDoc = DocInvoker.invoke(SumRequestDoc) (SumResponseDoc = 11)Even RPC style converts request to XML, but transparent to user (sumServiceInvoker) Document style useful when methods have to follow an XML Schema (e.g. OGSI Schema) RPC style useful for us

    22、er defined methods,Extreme! Computing Lab Computer Science Dept., Indiana University,Grid Client Utility,Grid Service PortTypes use document style Expect and return XML Documents Grid Client Utility gives RPC view of common Grid Service methodsWrap parameters into XML and unwrap responses Can overri

    23、de and call Grid Service methods directly using a document invoker,Extreme! Computing Lab Computer Science Dept., Indiana University,XML Beans,All OGSI methods, parameters, service data elements have XML schema GSH looks like someURI XML Beans gives Java Object view of XML Documents String gsh = gri

    24、dServiceHandle.getHandle(); Get and set methods for all elements and attributes in XML Document Can compile any XML Schema into XML Beans Object classes You can pass complex types in GSX only as XML Bean Objects!,Extreme! Computing Lab Computer Science Dept., Indiana University,Security XML Signatur

    25、e and SAML,WSUL provides an XML Signature module Client canonicalizes the SOAP Body and puts its Digital Signature in the header Verify signature at Service end and authenticate message Security Assertion Markup Language (SAML) used for Authorization Self contained signed tokens in header used to authorize the message request,Extreme! Computing Lab Computer Science Dept., Indiana University,Downloading and Using GSX,http:/www.extreme.indiana.edu/xgws/GSX Download - Distribution - GSX_1.0_RC_1_all.zip$GSX_HOME/docs/index.html faq.html service_model.html,Questions?,


    注意事项

    本文(A Brief Introduction to Grid Services.ppt)为本站会员(李朗)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开