Summary

This chapter covered a lot of ground. Not only did you learn how data can travel between Flex and Java using the AMF protocol, but you also learned how to automate the coding of the objects that are being transported by AMF. You got familiar with the internals of the pretty powerful DataCollection object, and went through a set of code fragments that illustrate various techniques applicable to creating a data synchronization solution based on Flex remoting.

The authors of this book have created and made available a fully functional version of such a DataCollection object, and we’ve provided the reference to its complete code on SourceForge. You’ll revisit DataCollection in Chapter 9, where its subclass, OfflineDataCollection, will do a good job synchronizing data between the local and remote databases in an AIR application. Finally, you’ve learned yet another advanced technique for pushing the data from the server to the client, via the AMF protocol implemented in BlazeDS and making reverse RPC calls.

And the most exciting part is that in this chapter we’ve been using only open source solutions!

Get Agile Enterprise Application Development with Flex 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.