Page 1 of 1

Spring Boot and Openwebstart

Posted: 09 Sep 2022, 15:11
by sg431
We would like to use Spring Boot together with Openwebstart, but a combination does not seem to be possible:
https://stackoverflow.com/questions/522 ... start-jnlp
https://stackoverflow.com/questions/332 ... a-webstart

Is there any way to combine Spring Boot applications with Openwebstart?

Re: Spring Boot and Openwebstart

Posted: 14 Sep 2022, 12:20
by Janak Mulani
OWS is used to run the Java application that is specified in the Jnlp file. All the resources that are required by the application must be specified in the Jnlp file so that OWS can fetch them and start the application.

If your application is a Spring boot application then you must specify all the required resources like Spring boot jars and config files etc in the Jnlp file.

However, OWS is normally used to deploy and run client side of apps on a desktop. My understanding is that Spring Boot forms the server side of an application and would normally run on a server.

We have not tried running a Spring Boot app with OWS. As the second link above says there could be classloading issues. You can create a small sample app and see how it goes.