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

    ByDeepal Jayasinghe - Ajith RanabahuApache Software .ppt

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

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

    ByDeepal Jayasinghe - Ajith RanabahuApache Software .ppt

    1、ByDeepal Jayasinghe / Ajith RanabahuApache Software Foundation & WSO2Accelerating Web Services Development with Axis2About usBoth Apache commiters Axis2 SynapsePart of the Axis2 team from Day 1Working for WSO2 Motivation for Axis2 History of ASF SOAP engines (paradigm) Apache SOAP Axis 1.x designed

    2、as a follow-on Why do we need a new SOAP engine? Changes to the Web services landscape WS-A, WS-RM Performance Parsers, Optimizing based on use Ease of use Deployment of new capabilities, service deploymentAxis2 features High Performance XML Processing Model Extensible Messaging Engine Improved Cont

    3、ext Hierarchy Pluggable Module Architecture Improved Deployment Model New Client API Optional Pluggable Data Binding WSDL 2.0 Support REST SupportHigh Performance XML Processing ModelNew XML Infoset RepresentationKnown as AXIOM (AXIS Object Model)NOT, Yet another XML object model API is more like a

    4、simplified DOMFundamental difference ? Objects are created “on demand” using a pull model Allows direct access to the underlying pull stream with or without building the tree Support for storing binary dataNew XML Infoset Representation (Cont)API also provides a StAX parser interface at any element

    5、Allows the event based navigation of the OM tree. New XML Infoset Representation (Cont)AXIOMPull Event StreamPush Event StreamPull Event StreamProgrammatic Creation Push Event StreamNew XML Infoset Representation (cont)In built binary storage support Can store binary (unchanged) Natively supports XO

    6、P/MTOMXOP? MTOM?AXIOM and Axis2AXIOM is the primary means of representing / manipulating the XML message inside Axis2Time to Dig Into Code Code samples to explain AXIOM Serialization De-serialization Caching XPath navigationExtensible Messaging EngineAxis2 TerminologyHandlerPhase Phase rulesFlow (Ex

    7、ecution chain)Extensible moduleServiceMessage ContextA Word About Phase and Phase Rules.Phase is logical collection of handlersWhy do we need phase rules? dynamic handler chainsWriting phase rules Phase Name PhaseFirst PhaseLast Before After Before and AfterHow phase resolving happens at the deploym

    8、ent time and module engagement timePhase and Phase Rules (Cont.)Example Extensible Messaging EngineApplicationTransportPhase ZPhase YPhase XXMLMessageEngineMessageReceiverThe Message FlowThe Flow of a Message Steps of handling a message inside Axis2 Transport Receiver Engine Dispatching Message Rece

    9、iverStep1 : Transport ReceiverCreate a Message Context (MC)Add transport information into MCCreate an AxisEngine Remember, AxisEngine is stateless Call engine.receive()Step 2 : EngineInvoke the global phases Why do we need global phases ?Dispatch (wait till next slide )Invoke service phasesCall the

    10、Message Receiver Can we pause the execution ? Yes , but there are things to keep in mind!Step 2.5 - Dispatching Two types of dispatching Finding the corresponding descriptions Finding the corresponding contextsDefault dispatchers AddressingBasedDispatcher RequestURIBasedDispatcher SOAPActionBasedDis

    11、patcher SOAPMessageBodyBasedDispatcherStep 2.5 : Dispatching (Cont)Order of tasks in dispatching Finding Operation context Finding Service context Finding Service group contextStep 3 : Message ReceiverThe last handler of the execution chainMEP dependent (MEP ? )Does the actual business logic invocat

    12、ionAbility to write custom Message ReceiversSupports Dependency injection !Some default Message Receivers RawXMLINOnlyMessageReceiver RawXMLINOutMessageReceiver RPCMessageReceiverMessage Exchange Patterns - MEPDescribes the exchange pattern of SOAP messages per given operation.E.g. In Out In Only In

    13、 In Out !WSDL 2.0 defines 8 standard MEPs.Axis2 supports all inbound MEPsCoding time again.Write a Custom Message ReceiverContexts and Descriptions HierarchyWhy are the Contexts and Descriptions Needed ? Descriptions keep static information Information extracted from deployment descriptorsContexts k

    14、eep runtime informationThis Information needs to be in various scopesGood to keep them seperate!Life Time of Descriptions and ContextsAxis* life time = System life time*Context life time variesSharing data across different level of descriptions and contextsParameters and PropertiesParameters Defining parameters The “locked” attribute Setting and getting Parameter can be any object Can get an OMElement as the parameterProperties Difference between property and parameter Accessing and retrieving property appropriatelyPluggable Module Architecture


    注意事项

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




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

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

    收起
    展开