on 07-11-2007 8:22 AM
Hi,
I want to know any business scenario, or any case where the Persistence API are explicitly needed.Whenever we use a smart sync application based on the metaRep.xml file the persistence to the DB2E or filesystem is taken care of by the Framework itself . So where do we need to implement it?
Thanks in Advance
Veerabhadram
Hi Veerabhadram,
Mobile Asset Management application is using both Framework persistence to download/upload data (with SmartSync, via SyncBo) and local persistence.
When data is local and only serves to run application we persist it locally.
One example - all lists in application are defined in xml file, which is rendered either when application run first or xml file is changed. We persist rendering results for performance purposes.
Cheers,
Larissa Limarova
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Veerabhadram,
You only need to use Persistence APIs when you are using a Generic Sync Application. You do not need to use Persistence APIs when you have a Smart Sync Application. Just so that you know the Smart Sync Layer would use the same Persistence APIs to store and retreive your data.
When you have a Generic Sync Application you have to take care of your own persistence.
Hope this clears your doubt.
Best Regards,
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.