Intermediate
After Yahoo! Maps collaboration, here is another example of enabling collaboration in a Flex application using the publish/subscribe messaging infrastructure of BlazeDS.
This example demonstrates "collaborative forms" (or "collaborative data entry"). Users in different locations can fill in forms "together" in a real-time and in-context collaboration session: changes made by one user are automatically reflected in the other user's application.
Testing the hosted version
You can right-click the application and select View Source or click here to see the source code of the application.
Notes:
Local installation instructions:
<channel-definition id="my-longpolling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amflongpolling"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>5</polling-interval-seconds>
<wait-interval-millis>60000</wait-interval-millis>
<client-wait-interval-millis>1</client-wait-interval-millis>
<max-waiting-poll-requests>200</max-waiting-poll-requests>
</properties>
</channel-definition>
<destination id="mortgage">
<channels>
<channel ref="my-longpolling-amf"/>
<channel ref="my-polling-amf"/>
</channels>
</destination>
Make sure you configure your Flex Builder project to work with BlazeDS. Read instructions on how to set up a Flex Builder project that works with BlazeDS. Make sure your BlazeDS turnkey server is started, and click http://localhost:8400/samples/fb-project-setup.htm
Flex User Forum |
More |
| 02/13/2012 | source code for lccs_10_3Beta.swc |
|---|---|
| 02/13/2012 | Display various time intervals in Flex |
| 02/13/2012 | How to get the selected text in a TextInput |
| 02/13/2012 | datagrid add/delete records problem |
Flex Cookbook |
More |
| 02/11/2012 | How to create facebook fan page with flash |
|---|---|
| 02/09/2012 | Using Camera with a MediaContainer instead of VideoDisplay |
| 02/08/2012 | Digital Clock |
| 01/20/2012 | Skinnable Transform Tool |