Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

App Feasibility Question

 
Yves Sy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I'm going to create a client/server app where users input data through their phones (client) and sync it with a server (a servlet). I've read on numerous ocassions that this is possible but I just want to really make sure.

So basically the plan is to store data on the phone which users may edit and upload to the server. The data may also be changed in the server which means synchronization logic is needed. I plan to use SyncML for synchronizing data on both ends.

The client connects to the servlet via GPRS (WAP).

Is this setup feasible? Am I on the right track? Is there a better way to do this?

Thanks!
-Yves-
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, your plan is feasible. I do not know about the SyncML part though. Although several SyncML toolkits claim to work on J2ME/MIDP (e.g., kSync and Sync4J), I found that none works well. But I have not tried them recently. There is a JSR working on a standard data sync API for J2ME. But that is at least a couple of months away.

http://www.jcp.org/en/jsr/detail?id=230
 
Yves Sy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool, thanks!
 
Yves Sy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, if you're not sure of SyncML, what is my best alternative? Direct connection?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just design your own binary-based sync protocol.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic