New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could this work together with Spring Boot? #7
Comments
I have used Spring Boot for years, and can't think of any reason you couldn't adapt this to get this template to work with your project as described. The template really is just to illustrate how to get Maven to play nicely with JavaFX modules to build stripped JVM with jpackage. The only tricky bit I can think of is some JARs are really best used as modules, not squished into a shaded JAR. That's going to look like module errors, but that's just tweaking build (specifically, exclude those JARs from the shaded JAR). One of the use scenarios I'm looking at is to create a System Tray app template for folks that want to build a desktop app but the UI is all done via local browser interactions, but that's a bit different from what you are describing. |
Also (completely unrelated) Sindarin poet is the coolest thing, Luthien. Just watch out for shiny gems - they can be more trouble than they are worth. ;) |
Thank you, that's encouraging to hear, I'll definitely give it a try :) And those jewels ... alas, that's all too true! I dhoer manath únodui, Long was the way that fate them bore, |
Hi,
this template looks very promising.
I'm eager to try out and see if it works for my project. It is a JavaFX desktop app that uses Spring Boot, JPA and a H2 database. I used FXWeaver to make Spring and JavaFX play nice together, and that seems to work perfectly OK, but I am still trying to settle on a way to build packages for Windows, Mac OS and Linux.
I've worked long enough with Spring (+Boot) to always be a bit suspicious when it comes to any novel use-case ... Spring's invisible magic is great as long as it works for you, but it can also make it extremely hard to figure out when there's an issue.
That's why I wonder if you might already have used them together, or know of another project that did?
All the best,
Lúthien
The text was updated successfully, but these errors were encountered: