The "contact" sample application used in this tutorial IS NOT
included in the Flex Data Services samples web application. The
documentation text is incorrect. However, the required files are
available in the following zip file, which you can unzip into the
samples (root directory) of the samples web application:
http://www.adobe.com/go/flex2_contact_app_zipAfter unzipping the file, copy the following destination
definition after the last destination in the
samples/WEB-INF/flex/data-management-config.xml file:
<destination id="contact">
<adapter ref="java-dao" />
<properties>
<source>samples.contact.ContactAssembler</source>
<scope>application</scope>
<metadata>
<identity property="contactId"/>
</metadata>
<network>
<session-timeout>20</session-timeout>
<paging enabled="false" pageSize="10" />
<throttle-inbound policy="ERROR" max-frequency="500"/>
<throttle-outbound policy="REPLACE"
max-frequency="500"/>
</network>
<server>
<fill-method>
<name>loadContacts</name>
</fill-method>
<fill-method>
<name>loadContacts</name>
<params>java.lang.String</params>
</fill-method>
<sync-method>
<name>syncContacts</name>
</sync-method>
</server>
</properties>
</destination>
- Mike Peterson
Adobe Flex documentation team