[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.riena] Re: Online/Offline Synchronization Workflows

Hi Tomson,

we currently have mostly covered the online scenario and in some respect in the offline
scenario where you have you local service that swaps in for the missing remote service.
No scenario or requirement currently either for merging results or for playing back the
server result when the server is not available. But for some services that might be a very
good thing. Not sure however what will happen if you sort of simulate the server pretending
there is a server by show the local data from the last search and then the user clicks from
detail view to detail view and you reach a point where you "forgot" to load the data in the
last session and since you are really offline you cannot load it anymore.

It can also be become tricky if you pretend you are online. Shouldn't the user know that the
data might be out of date ?

But I certainly can see a point like for pretty simple data objects that would like to keep a sort
of cache on the client and if you are only you access the server and if not use the local copy.
For things like country lists, currencies or stuff like that, they dont change every day or week.

So having a standard mechanisme for that is something we did think about but never implement. For customer
records it sounds tricky to me, maybe just because our customer records has many hundreds properties.

Any idea on how to implement that in Riena ?

christian


Tom Seidel schrieb:
Hi,

I've tried the Remote-Services and they look very suitable for my requirements. I just would like to know if you have some "best practises" in synchronization of online and offline data. Simple Scenario:

I've a SearchService that searches for people in a local repository and on the server (the online/offline reps are hidden to the user). What are the best ways to merge the result of this search? - It also would makes sense that the client caches the online-search results and these results are available with the offline service call if I use this service again. Is Riena covering such scenarios?

Thx in advance
Tom