Java with Titanium mobile application testing db sync from mobile to web