How to upgrade PrimeFaces 3.5 to 8.0

Viewed 1395

I have to upgrade PrimeFaces version to 8.0. Current version is 3.5. I don't know how to begin.

2 Answers

Depends how your project is structured.

If the project has enough UI testing, you might get away with incremental updates. Step-by-Step. Otherwise you might have to write some tests before updating anything. Simply because:

Each update will break some existing functionality

My suggestion would be to completely forget about primefaces and decouple the UI from Java entirely by re-implement it in React, Vue or any decent frontend solution. All you have to do it to expose a bunch of endpoints from your Java application for the frontend to communicate with.

Good Luck bro with your journey.

Related