Possible to Build a browser based app for online & offline??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Possible to Build a browser based app for online & offline??

  1. #1
    Join Date
    Jul 2003
    Posts
    2

    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!

    Albert
    Last edited by albertlam; 10-01-2005 at 12:49 PM. Reason: Rephrase

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    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, 01:22 PM
  2. Browser Redirect Based On Viewing Mode
    By Tad Boomer in forum Architecture and Design
    Replies: 1
    Last Post: 11-16-2001, 05:20 PM
  3. OO Considered Harmful
    By Richard Dalton . in forum Architecture and Design
    Replies: 33
    Last Post: 07-30-2001, 03: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, 02: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, 03: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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