DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003

    Unhappy Possible to Build a browser based app for online (internet) & offline (PC/NB) use??

    Hi guys,

    Can anyone share your experience on building a web (browser) based application which works as both online and offline mode?

    By online I mean user access "connected" via Internet to a web / app server which do centralized connection to a RDBMS inside the house.

    While offline, I mean certain user may take their portion of data offline (say, onto their notebook), and have a standalone infrastructure on his machine (say, Jboss + some light weight DB). Such that, while disconnected, he still have the full functionalities of the web app available offline.

    In order to avoid the hazzle of maintaining two set of Java/JSP sources for the two modes, we've been instructed to work out a "1 Source" solution.

    Appreciate if anyone can shed some light on this!

    Have a good day!

    Last edited by albertlam; 10-01-2005 at 11:49 AM. Reason: Rephrase

  2. #2
    Join Date
    Nov 2004
    If the app is properly structured, then the only difference for the two modes should
    be the database url. The best approach to this woul be to isolate the data access
    so that the rest of the app is unaffected by what database connection (or what
    make of database for that matter) the user currently has.

    Then there is the problem of synchronizing on & offline data, but that is a totally
    different ballgame.
    eschew obfuscation

Similar Threads

  1. data entry job in offline & home based
    By alameen in forum Careers
    Replies: 2
    Last Post: 04-08-2003, 12:22 PM
  2. Browser Redirect Based On Viewing Mode
    By Tad Boomer in forum Architecture and Design
    Replies: 1
    Last Post: 11-16-2001, 04:20 PM
  3. OO Considered Harmful
    By Richard Dalton . in forum Architecture and Design
    Replies: 33
    Last Post: 07-30-2001, 02:11 AM
  4. Check if app is running, based on window handle
    By Eric D. Burdo in forum VB Classic
    Replies: 4
    Last Post: 11-29-2000, 01:02 PM
  5. Check if app is running, based on window handle
    By Eric D. Burdo in forum VB Classic
    Replies: 0
    Last Post: 11-27-2000, 02: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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.