Sugessions for structure of application regarding using database

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Sugessions for structure of application regarding using database

  1. #1
    Join Date
    Oct 2010

    Exclamation 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

    note[laptop does not have any network connectivity with sever]
    Comment required for structure of application regarding using database

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    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

  3. #3
    Join Date
    Oct 2010
    Hi HACK
    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.

    Thank you.


Similar Threads

  1. XML files vs Database
    By Mansoor in forum Enterprise
    Replies: 2
    Last Post: 09-10-2002, 11:38 PM
  2. Replies: 3
    Last Post: 10-22-2001, 02:26 PM
  3. Access and VB for multiuser database application
    By Ajay N. Shah in forum VB Classic
    Replies: 4
    Last Post: 07-04-2001, 11:43 AM
  4. Replies: 1
    Last Post: 05-04-2001, 02:24 PM
  5. Multiple Database Architecture
    By mholt28 in forum VB Classic
    Replies: 1
    Last Post: 06-05-2000, 12:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center