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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.