Code Monkey home page Code Monkey logo

java-pwa's Introduction

Progressive Web App with Java

This guide shows you how to get PWA functionalities in a Java application.

Java app before applying PWA functionaities Final app with PWA, running standalone
Java app without PWA Java app without PWA

Step by step guide

Here are easy steps on how to make a Java app, PWA compatible:

Step 0 | Simple Vaadin App

Step 1 | Simple JS PWA

Step 2 | Add JS responsible about SW

Step 3 | Add service worker

Step 4 | Update cached files

Step 5 | Include manifest file

Step 6 | Add relevant meta tags

Step 7 | Compression and production mode

Step 8 | Show data in a working app

Step 9 | Skip waiting when updating the service worker

How the final app looks like

App icon on the desktop Splash screen when opened App drawer
Java app without PWA Java app without PWA Java app without PWA

java-pwa's People

Contributors

amahdy avatar saraaamin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.