Re: Online/Offline

2009-08-13 Thread Andrus Adamchik
This is not fully on topic (see my other email in this thread which was more to the point), still... there's one cool feature that I've discussed with somebody offline some time ago. Often you need to work offline and then synchronize the data saved offline back to the server when the clien

Re: Online/Offline

2009-08-13 Thread Andrus Adamchik
On Aug 6, 2009, at 12:49 AM, Michael Alderton-Smith wrote: Simple question at the end of the day can you use the lighter client classes locally somehow? Yes. Try using org.apache.cayenne.remote.service.LocalConnection for your local work. It still incurs the overhead of two layers of

Re: Online/Offline

2009-08-08 Thread Aristedes Maniatis
On 6/08/09 7:49 AM, Michael Alderton-Smith wrote: The problem I see, is that any references to classes in my code are to the client classes generated by Cayenne for the server objects, but would need to be the actual full server classes to work with the derby database, so I see no way of making a

Online/Offline

2009-08-08 Thread Michael Alderton-Smith
;t care whether it's talking to the server or the local derby database, except when it comes to the datacontext itself. otherwise I'll have to integrate the online/offline code throughout the system, which is going to be a lot of work. Simple question at the end of the day can you