Hi,
Thanks for response!
I checked Karaf Minho and there seem to be not much activity in the repo. Is it 
still being actively developed/maintained? Karaf 5 looks very similar in this 
regard. Are there some more resources on Karaf Minho except this blogpost: 
https://nanthrax.blogspot.com/2023/01/getting-started-with-apache-karaf-minho.html?m=1
 ?

Looking at Aries Blueprint I believe there is a similar situation as with 
Gemini Blueprint. The latest version of org.apache.aries.blueprint.spring 
supports Spring 4 
(https://mvnrepository.com/artifact/org.apache.aries.blueprint/org.apache.aries.blueprint.spring/0.6.0).
 We rely on Spring quite heavily so rewriting the code to drop Spring 
completely is not an option. Therefore I was asking about Spring Boot support. 
The effort to rewrite the application so that it becomes a Spring Boot 
application is definately lower than rewriting the app not to use Spring.

Best regards,

Martin Zukal
Senior Software Developer

STABILIT Informatik AG
Augustin Keller-Strasse 31, 5600 Lenzburg, Switzerland
T:+41 62 724 08 48
martin.zu...@stabilit.ch  www.stabilit.ch


-----Original Message-----
From: Jean-Baptiste Onofré <j...@nanthrax.net> 
Sent: Saturday, August 2, 2025 7:34 AM
To: user@karaf.apache.org; Martin Zukal <martin.zu...@stabilit.ch>
Subject: Re: Spring boot app in Apache Karaf

Hi

Karaf 4.4.x doesn't aim to support Spring Boot applications, because they are 
different runtimes.
If you mean, is it possible to colocate Spring Boot applications in one Karaf 
container, that's the purpose of Karaf Minho and Karaf 5 
(https://github.com/apache/karaf-minho/tree/main/services/minho-spring-boot).

Gemini is a blueprint implementation (Blueprint is an OSGi spec). In Karaf, you 
can also use Aries Blueprint (another implementation).

So, having support for different kinds of applications (spring boot, osgi, etc) 
in one container (colocating resources and tools like the shell console, JMX 
server, etc) is the target of Karaf 5 (Karaf Minho too).

Regards
JB

On Fri, Aug 1, 2025 at 10:11 AM Martin Zukal via user <user@karaf.apache.org> 
wrote:
>
> Hello everyone,
>
> I would like to hear whether there is someone using Apache Karaf to run 
> Spring boot application(s)? I understood that it is possible using the Karaf 
> Spring Boot service. Are there any limitations or some important things to 
> consider?
>
> We have a legacy Spring application which consists of couple of OSGi bundles. 
> We are using gemini blueprint 
> (https://github.com/eclipse-gemini/gemini.blueprint) as the bridge between 
> OSGi and Spring. Unfortunately, there is no official release of gemini 
> bluprint which supports Spring 6. Therefore we are considering the option to 
> remove the OSGi-related stuff and make the application a single spring boot 
> application. We are aware of the fact that we then basically don’t need 
> Apache Karaf anymore. But we have a lot of tooling (especially for 
> deployment) which we would like to keep and phase out at a later point.
>
>
>
> I would be very happy to hear any thoughts on this topic. If someone already 
> did something similar and would be willing to share the experience, I would 
> highly appreciate discussing that in greater detail!
>
>
>
> Best regards,
>
>
>
> Martin Zukal
>
> Senior Software Developer
>
>
>
> STABILIT Informatik AG
>
> Augustin Keller-Strasse 31, 5600 Lenzburg, Switzerland
>
> T:+41 62 724 08 48
>
> martin.zu...@stabilit.ch  www.stabilit.ch
>
>

Reply via email to