
228 Use the Data Management Service
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>
Comentários a estes Manuais