Exploring the possibility of integrating Progressive Web App support into a JavaServerFaces web application has become a focal point for our team. As our JSF app continues to evolve, we foresee the need to provide offline access to certain parts of the application in the future. Along with the appealing features offered by PWAs such as notifications, full screen web apps, and the ability to add to homescreen, our main focus lies on leveraging the offline capabilities enabled by PWA through service workers and caching.
Our clients often find themselves working in areas with limited or no internet connectivity. In such scenarios, it is crucial for them to be able to access the app, authenticate themselves, and navigate to the required section of the app on-site. Here, they would work with existing data or create new datasets. I believe that utilizing the PWA service worker could potentially allow for caching data and storing newly generated information for later synchronization with the server. Is this indeed feasible?
Despite the appeal of PWA support, I harbor doubts about the feasibility of implementing offline mode functionalities in a JSF application. Given that all application logic resides on the server side and clients do not directly engage in API calls like GET/POST/PUT (essential for caching and synchronization), I question the seamless integration of these technologies.
My attempts to find substantial information on the topic of JSF & PWA have yielded little results, prompting me to pose this inquiry. Any guidance or insights on whether JSF apps can effectively harness PWA technologies, particularly in terms of offline access, caching, and synchronization, would be greatly appreciated.
Thank you.