<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)  編輯  收藏 所屬分類: JavaFlex & Flash

    評論:
    # re: BlazeDS Study Notes -- Overview & Concepts 2010-03-31 14:25 | 俏物俏語官方網站
    是打開發獎時愛到底  回復  更多評論
      
    主站蜘蛛池模板: 亚洲av纯肉无码精品动漫| 日本高清不卡aⅴ免费网站| 国产亚洲中文日本不卡二区| 亚洲AV无码一区二区三区网址| 色片在线免费观看| 日本中文一区二区三区亚洲| 久久国产精品亚洲综合| 色窝窝亚洲AV网在线观看| 91香蕉国产线在线观看免费| 免费a级毛片大学生免费观看| 亚洲伦另类中文字幕| 免费中文字幕视频| 成年在线网站免费观看无广告| 亚洲va无码手机在线电影| 国产综合激情在线亚洲第一页 | 久久国产亚洲精品| 毛片a级三毛片免费播放| 亚洲中文字幕久久精品蜜桃 | 久久精品一区二区免费看| yy6080久久亚洲精品| 日韩少妇内射免费播放| 好吊妞788免费视频播放| 久久精品国产亚洲av麻豆小说| xxxxx做受大片视频免费| 国产精品国产免费无码专区不卡| 亚洲最大在线观看| 鲁丝片一区二区三区免费| 亚洲一区二区三区在线播放| 丰满亚洲大尺度无码无码专线| 亚洲成av人在片观看| 国产99久久亚洲综合精品| 亚洲精品无码专区2| 香港特级三A毛片免费观看| 女人被男人桶得好爽免费视频| 真人无码作爱免费视频| 亚洲国产成人一区二区三区| 在线视频网址免费播放| 久久久久亚洲AV无码专区网站| 暖暖免费中文在线日本| 亚洲va在线va天堂va888www| 在线观看免费a∨网站|