Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Develop client-side application logic > Develop disconnectable app using Mobile... - Pg. 300

} return resultMsg; } Summary to perform DB2e sync To summarize a Java native synchronization application, the major steps are the following: 1. Import the DB2 Everyplace synchronization packages: import com.ibm.mobileservices.isync.*; import com.ibm.mobileservices.isync.event.*; 2. Implement the eventIssued method of the ISyncListener interface for event notification during synchronization. 3. Get an instance of the DB2 sync provider. 4. Get an instance of the synchronization service from the provider object. 5. Get an instance of the configuration store from the service object. 6. Get an instance of the synchronization driver from the configuration store object. 7. Register your application listener object that implements the ISyncListener interface for event notification from the synchronization driver object during