I am now on a project to develop an application for mobile devices. My project is “Java based e-voting system through Bluetooth (Mobile-to-Mobile)”. So, I am fully utilized the J2ME and the Bluetooth technology. As for Bluetooth technology, I need at least one Server and several Clients in order to make my program works. For this project, both Server and Clients are using mobile devices.
Currently, I'm facing some problems that involved the database itself. I'm using the RMS (Record Management System) for the database storage. My problems are:
1)As Client send data to the Server through the Bluetooth connection, all previous data in the Sever are gone and being replaced with the new data that is being sent. As I'm developing a voting system, I need my Server to update the data when Client sent the data, not replacing the data. How I can do that? I don’t want to lost all the previous data in the Server.
2)As I am using mobile phones for both Server and Client, I realized that there are limited tasks that mobile phones can do. So, I just wondering, is it possible for me to make all the database of my Client visible to Server? (eg. of database: voters' name, voters' voting, etc..)
Really needs helps from others.