<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-193  評(píng)論-715  文章-1  trackbacks-0

    Flex and AIR applications use Flex components to communicate with the BlazeDS server, including the RemoteObject, HTTPService, WebService, Producer, and Consumer components. The HTTPService, WebService, Producer, and Consumer components are part of the Flex Software Development Kit (SDK).

    What's Producer?

    The BlazeDS core features include the RPC services and the Messaging Service.
    You can access data through client-side RPC components that include HTTP GET or POST (HTTP services), SOAP (web services), or Java objects (remote object services).
    BlazeDS lets you use RemoteObject components to access remote Java objects without configuring them as SOAP-compliant web services.

    Client applications that send messages are called message producers. You define a producer in a Flex application by using the Producer component. Client applications that receive messages are called message consumers. You define a consumer in a Flex application by using the Consumer component. A Consumer component subscribes to a server-side destination and receives messages that a Producer component sends to that destination. For more information on messaging, see Using the Messaging Service.


    BlazeDS uses a message-based framework to send data back and forth between the client and server. BlazeDS uses two primary exchange patterns between server and client. In the first pattern, the request-response pattern, the second pattern is the publish-subscribe pattern where the server routes published messages to the set of clients that have subscribed to receive them.

     

    To send messages across the network, the client uses channels. A channel encapsulates message formats, network protocols, and network behaviors to decouple them from services, destinations, and application code. A channel formats and translates messages into a network-specific form and delivers them to an endpoint on the server. 

     


    Channels communicate with Java-based endpoints on the server. An endpoint unmarshals messages in a protocol-specific manner and then passes the messages in generic Java form to the message broker. The message broker determines where to send messages, and routes them to the appropriate service destination.
    BlazeDS includes several types of channels, including standard and secure Action Message Format (AMF) channels and HTTP (AMFX) channels. AMF and HTTP channels support non-polling request-response patterns and client polling patterns to simulate real-time messaging. The streaming AMF and HTTP channels provide true data streaming for real-time messaging. 

     

     Configure an existing J2EE web application to support BlazeDS by performing the following steps: 
     1, Add the BlazeDS JAR files and dependent JAR files to the WEB-INF/lib directory. 
    2, Edit the BlazeDS configuration files in the WEB-INF/flex directory. 
    3, Define MessageBrokerServlet and a session listener in WEB-INF/web.xml.

    posted on 2010-03-31 12:19 Robin's Programming World 閱讀(1693) 評(píng)論(1)  編輯  收藏 所屬分類: JavaFlex & Flash

    評(píng)論:
    # re: BlazeDS Study Notes -- Overview & Concepts 2010-03-31 14:25 | 俏物俏語(yǔ)官方網(wǎng)站
    是打開發(fā)獎(jiǎng)時(shí)愛到底  回復(fù)  更多評(píng)論
      
    主站蜘蛛池模板: 免费大片黄在线观看yw| 免费人成在线观看视频播放| 亚洲婷婷第一狠人综合精品| 国产青草视频在线观看免费影院| yellow视频免费在线观看| 久久久久久亚洲精品成人| 日本特黄特色免费大片| 青青操视频在线免费观看| 亚洲日本国产精华液| 亚洲AV无码专区日韩| 在线看无码的免费网站| 美女隐私免费视频看| 亚洲丁香色婷婷综合欲色啪| 成人免费无毒在线观看网站| 好男人资源在线WWW免费| 亚洲综合丁香婷婷六月香| 区三区激情福利综合中文字幕在线一区亚洲视频1 | 免费精品视频在线| 久久亚洲熟女cc98cm| 免费人成视频在线观看不卡| 91成人在线免费视频| 无码的免费不卡毛片视频| 91嫩草亚洲精品| 亚洲午夜国产精品无码老牛影视| 在线观看特色大片免费视频| 国产一级在线免费观看| 亚洲欧美不卡高清在线| 亚洲午夜免费视频| 亚洲一区精品伊人久久伊人| 大陆一级毛片免费视频观看| 先锋影音资源片午夜在线观看视频免费播放 | 亚洲阿v天堂在线2017免费| 亚洲一区二区无码偷拍| 亚洲自偷自偷精品| 亚洲午夜福利在线观看| 国产精品免费播放| 无人在线观看完整免费版视频 | 亚洲 另类 无码 在线| 操美女视频免费网站| 131美女爱做免费毛片| 免费精品99久久国产综合精品|