My app is a web application written in Java using GWT. I use jetty-runner to deploy the app as a .war file.
I need a predictable browser to display the app. Originally, I used CEF on Windows and Safari on Mac.
As I still need Java to run jetty, I modified the Windows launcher to use JCEF + Jetty wrapped in an SWT-based GUI, and it works pretty well.
I wanted to reuse most of the code but JCEF doesn't build on latest macOS with latest Xcode.
Now I have a working solution: I use Electron to start Jetty and display the app in its embedded Chrome browser. Integration with the operating system works well and I can implement t he native menus using Electron instead of Java + SWT
I will keep checking JCEF and see if it becomes possible to build it on MacOS in a near future.
Regards,
Rodolfo