Sugessions for structure of application regarding using database
Developing java desktop application.
There user want to use the application on various sites(Physical places).
i.e n users(with individual laptops) @ n no of sites at a time.
finally they report at their main office,where same application running on server with database connectivity.assume(MySql).
Now question is what strategy should be deployed on laptops to store collected data on sites? and how to synchronize it with server database.?
to use another database/other options...like?
note[laptop does not have any network connectivity with sever]
Comment required for structure of application regarding using database
Several years ago I had a similiar scenerio.
I put an MS Access database on the laptops that had the exact same table structure as my SQL Server database. When in the field (i.e., not connected to the network) all records were saved there, then uploaded to SQL Server when the agent came back into the office or could otherwise connect to the network.
There were a few issues that needed to be ironed out. The biggest was the ability to determine if a record in the Access database was a new record (in which case the upload to SQL Server required an INSERT INTO query be run) or an update to an existing record (in which case the upload to SQL Server required an UPDATE query be run). This is something that can be worked out on your end as you know the data and clients etc far better than do we.
Once the upload to SQL Server was complete and verified, the records in local Access database were wiped out.
It is offered as a suggestion.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
your suggestion suits my framework.i can now look forward towards implementation.
if you have any more issues regarding this scenario that should i take care about please post.
By Mansoor in forum Enterprise
Last Post: 09-10-2002, 10:38 PM
By Jack in forum VB Classic
Last Post: 10-22-2001, 01:26 PM
By Ajay N. Shah in forum VB Classic
Last Post: 07-04-2001, 10:43 AM
By Bazy in forum VB Classic
Last Post: 05-04-2001, 01:24 PM
By mholt28 in forum VB Classic
Last Post: 06-05-2000, 11:21 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL