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

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

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

    隨筆-193  評論-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 閱讀(1704) 評論(1)  編輯  收藏 所屬分類: Java 、Flex & Flash

    評論:
    # re: BlazeDS Study Notes -- Overview & Concepts 2010-03-31 14:25 | 俏物俏語官方網站
    是打開發獎時愛到底  回復  更多評論
      
    主站蜘蛛池模板: 久久久精品国产亚洲成人满18免费网站 | 亚洲阿v天堂在线2017免费| 成人性生免费视频| 精品国产一区二区三区免费| 99精品热线在线观看免费视频| 亚洲中文字幕无码永久在线| 亚洲性色高清完整版在线观看| 久久国产精品免费网站| 亚洲色欲色欲综合网站| 99在线观看免费视频| 亚洲不卡中文字幕| 一级做a爰性色毛片免费| 亚洲午夜国产片在线观看| 一级黄色免费网站| 亚洲一区爱区精品无码| jiz zz在亚洲| 久久免费国产精品一区二区| 亚洲AV色香蕉一区二区| 51视频精品全部免费最新| 亚洲一区AV无码少妇电影☆| 黄网站免费在线观看| 亚洲最大的视频网站| 日韩视频免费在线| 美女巨胸喷奶水视频www免费| 国产成人无码综合亚洲日韩| 久香草视频在线观看免费| 亚洲精品高清无码视频| 丰满妇女做a级毛片免费观看 | 午夜在线免费视频| 亚洲精品无码精品mV在线观看| 日本免费大黄在线观看| 国产成人精品日本亚洲专一区| **aaaaa毛片免费| 亚洲精品国产第一综合99久久 | 亚洲AV无码一区东京热| 中文日本免费高清| 亚洲精品美女在线观看播放| 国产精品视_精品国产免费| 日本免费A级毛一片| 亚洲日本国产综合高清| 永久亚洲成a人片777777 |