Hi everyone,
I'm considering b4j for cross-platform desktop apps and I want to use blazor webassembly combined with it. I want to develop the UI with blazor reusing the code of the web version and then put up a b4j server for it to work locally and respond to the http calls from blazor. I thought in develop the apps this way to be able to open them in a browser or to view them in a webview through the desktop app window so this way the user can choose how he wants to work.
One thing that can be a problem is, with this approach, we will or can have many many servers running at the same time occupying multiple ports.
What do you think? What problems or drawbacks do you envision with this method?
I believe I also have to find a way for the apps to have a mechanism to scan, when they start, in a pre-defined range of ports, for a port available for their jetty server use.