Skip navigation
Currently Being Moderated

For Working offline - Which one to use -  local database caching or reliable messaging?

Nov 21, 2011 3:42 PM

Hi,

 

I am working on a mobile application with lcds where there is a feature to be implemented. The user can use the application in airplane mode and be able to automatically send requests to server when he comes online. After some research,  I found that I have to use a feature in the documentation called ocasionally conencted clients, which uses local database with dataservice.savecache() and offline adapter. I also found another feature called reliable messaging which takes care of sending the pending requests when the user comes online, but not sure if this feature supports offline mode for longer periods. The documentation mentioned that reliable messaging is only good for transient network disconnects, meaning disconenction for shorter time.

 

Can anybody please confirm which is the right feature that best suits this requirement?

 

 

Thanks,

Swathi.

 
Replies
  • Currently Being Moderated
    Nov 22, 2011 3:29 AM   in reply to betheflexcoder

    Hi

     

    Can you clarify whether you are using Messaging or Data Management? Reliable Messaging is a messaging feature while the Data Service is used for Data Management.

     

    Regards,

     

    Ashish Vashisht

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 22, 2011 11:10 AM   in reply to betheflexcoder

    Hi

     

    Based on your use case, the Occasionally Connected Clients feature should work for you. Specifically, you may want to have a look at this guide: http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4 ba8596dc6a25eff-56f1c8f4126dcd963c6-8000.html

     

    Regards,

     

    Ashish Vashisht

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 23, 2011 4:47 AM   in reply to betheflexcoder

    Hi

     

    When autoConnect is set to true, Data Services will automatically try to connect to the server when required. This will be periodically reattempted based on the autoConnectInterval property on the Data Store. If you want to control the connection manually, you should set autoConnect to false.

     

    Regards,

     

    Ashish Vashisht

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points