Chapter 6. Flex messaging

This chapter covers

  • Setting up BlazeDS for messaging
  • Using the Flex Messaging API
  • Creating a polling channel

The Flex Messaging API, bundled with BlazeDS, provides asynchronous messaging, which you can use to create a better user experience by enabling your application to refresh itself in real time whenever anyone using the application makes any changes. The BlazeDS MessageService allows bidirectional communication between Flex clients and the server side.

In general, you want to use messaging to notify the client of changes. This will fire off an event to refresh the FlexBugs issues list. Figure 6.1 demonstrates this use of messaging.

Figure 6.1. Simple polling

This chapter will exploit the use of the Flex Messaging ...

Get Flex on Java now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.