title: Offline Version of Single Page Applications
body: <p>What are the techniques and the tools, libraries and frameworks necessary to make a SPA in java (and javascript)?</p>
  
  <p>Consider an application served by a server A. This server might go offline. </p>
  
  <p>What I need is a partially functional, read-only version of that application on a second server B, but fully navigable.</p>
  
  <p>Server B can only serve static files: html, css, js, images.</p>
  
  <p>Server A has access to server B and can push data to it as required and on a regular basis.</p>
  
  <p>My second requirement is to suffer as less as possible from vendor lock-in, so I should be using as little frameworks as possible.</p>
  
  <p>The third requirement is: there should be no necessity of any tool on the client's side, in the browser.</p>
  
  <p>Please list the possible techniques, and where applicable, also at least one tool/framework/library, so I can search for alternatives to that one if, for whatever reason, it doesn't fit my bill.</p>