https://kotlinlang.org logo
Title
a

Anders Søe

05/30/2021, 6:29 PM
I have an existing Spring Boot desktop application i consider migrating to compose-desktop. Can i inject my existing spring components into compose some way ? And if yes.. any examples/documentation i could look at ?
a

Ardian

05/30/2021, 6:37 PM
👋 hello, not answering your question. But I was just curious about this desktop app you have. What framework do you use for the GUI and how is the memory footprint using Spring Boot?
a

Anders Søe

05/30/2021, 6:47 PM
It is mostly a java application, since i am a full full-time java developer, and this is (so far) a hobby project. All "backend stuff" written in java. Initially, i tried writing the ui in JavaFx, but found that was rather painful. Then a quick detour around tornadofx, which was definately an improvement, i'm just a bit worried that it is being abandoned, so therfore looking at alternatives. desktop compose seems like it might be a good fit for the UI parts, if i can get it tied together with the existing code. It is still so early stages, that i dont really have any experience with memory footprint. Also i don't think it is much of an issue for this application, since small footprint has never been a priority.
a

Ardian

05/30/2021, 6:56 PM
Ah gotcha! I also planned to use some kind of DI framework for a side project I'm working on right now and kinda debating which one to use. The 2 options I'm considering right now is Spring Boot and Micronaut. I'm leaning towards Spring Boot just because I'm already familiar with it but not sure about memory performance. Anyhow, thanks for replying!