• Post Reply Bookmark Topic Watch Topic
  • New Topic

Offline web application with database

 
Mic Paul
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea for creating web application which needs to work online and offline as well with database. There is chances of using the application in offline when there is no internet connection. The application going to be used for getting inputs for some inspection process which may happened remote areas as well.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would using an in memory database be an option?

I recently had to do something similar. I came up with using lazy variables which instantiated a database connection from the pool when accessed. I had a couple of WebSocket endpoints where-in accessing one of the end-point accessed the lazy variable.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP will not be of much help. You might want to look into HTML5 offline applications.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!