You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Som Shankar Bhattacharyya <bh...@gmail.com> on 2021/02/24 17:09:40 UTC

Need guide to deploy Spring boot services in Karaf

Hello,
 I am learning Karaf and I think it has excellent potential for use at
various places. I was looking to put together a quick example of using
spring boot apps as modules on Karaf/
I cannot find one. Can someone point me to a guide or example ?

Thanks.

Re: Need guide to deploy Spring boot services in Karaf

Posted by JR <ju...@gmail.com>.
I am not an expoert, but I would like to  do the same spring application.

You could publish your Beans(Services) to Karaf using Osgi context (Osgi
Service), You can expose the OSGI Services as Spring Bean (Spring Services)
in your SpringBoot Configuration getting from OSGI Context.

publish your beans


// Your Consumer and Producer Services (Osgi Jars) must get the Interfaces
from a API JAR, dont include the class theirs  osgi jars.
api.jar (all services interfaces)
service-impl.jar (services implementations who expose the osgi service)
service-consumer.jar (get the service implementation from osgi)

// GET from your Activator

BundleContext ctx


@Bean Service createService() { Service service = new
ServiceImpl();ctx.registerService(Service.class, service, new
Hashtable<String, String>()); return service}

Getting Service to use in Spring

@Configuration
OsgiServiceProvider

// GET from your Activator

private static BundleContext bundleContext;

@Bean Service injectService() { // GET the from your BundleContext
return (Service)(bundle.getService()) }

ServiceReference ref =
bundleContext.getServiceReference(Service.class.getName());
  Service service = (Service) bundleContext.getService(ref);

return service;


After, *you need to register listeners about services/bundles* was
*undeployed*, or was *deployed* (changes of the services
instances)..You will be need a wrapper of your service in your
Consumer.

public class ServiceWrapper implements Service

Service target; // to call the real service instance, because could be
deployed and undeployed

Best Regards

Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
My idea is to use it as a services container so we can put together a
"recipe" for handling microservices projects which may need pluggable
features.
One more question and I think I know the answer but still I will go ahead.
Let's say we have two modules deployed in Karaf. They use the same JVM
memory or different. I think it has to be the same.
Let me know. If I am missing something conceptually.

On Thu, Feb 25, 2021 at 8:05 PM Francois Papon
<fr...@openobject.fr> wrote:
>
> Do you want to use Karaf as a runtime only or as a services container?
>
> By service container, I mean you want that each springboot modules can
> call others throuhgt the OSGi registry (other global context registry)?
>
> regards,
>
> François
> fpapon@apache.org
>
> Le 25/02/2021 à 14:57, Som Shankar Bhattacharyya a écrit :
> > Hi,
> >
> > Thank you for the interest. So I am not working on a live production
> > project yet. Here is the full context of what is my motivation.
> >
> > So I work for a leading software consultancy company. During a couple
> > of  project's review/development we came. across this question of
> > having to develop a new solution on the premise which should be
> > modularized (sort of plugin) based where we can add behavior by
> > dropping in plugins.
> > Having seen the comfort companies have in terms of having staffing for
> > spring boot in the Java space the very next. question. that comes is.
> > can we develop spring boot modules that can be then deployed to that
> > "plugin container" and these modules can talk using a contract. Which
> > immediately screams. OSGi.
> > So I. was thinking of putting together a working demo of a couple of
> > spring boot applications that can demonstrate DI using OSGi.
> > Something like lets say
> >
> > i. A dockerized Karaf container
> > ii.One Spring boot app that functions like a rules engine.To handle
> > all messy changing conditions.
> > iii.One Spring Boot app which provides the clean processing endpoints.
> >
> > These second app can depend on the rules app and work along contracts.
> > I see potential in several projects like OpenMRS extensions etc.
> >
> >
> >
> > On Thu, Feb 25, 2021 at 2:30 AM Francois Papon
> > <fr...@openobject.fr> wrote:
> >> Hi,
> >>
> >> Can you explain your use case a bit more and why you are interesting
> >> about running springboot in Karaf?
> >>
> >> Do you have some features you would have in Karaf around springboot?
> >>
> >> As JB said, we are currently working on Karaf 5 so every feedback are
> >> very valuable for us :)
> >>
> >> regards,
> >>
> >> François
> >> fpapon@apache.org
> >>
> >> Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
> >>> Hello,
> >>>  I am learning Karaf and I think it has excellent potential for use at
> >>> various places. I was looking to put together a quick example of using
> >>> spring boot apps as modules on Karaf/
> >>> I cannot find one. Can someone point me to a guide or example ?
> >>>
> >>> Thanks.

Re: Need guide to deploy Spring boot services in Karaf

Posted by Francois Papon <fr...@openobject.fr>.
Do you want to use Karaf as a runtime only or as a services container?

By service container, I mean you want that each springboot modules can
call others throuhgt the OSGi registry (other global context registry)?

regards,

François
fpapon@apache.org

Le 25/02/2021 à 14:57, Som Shankar Bhattacharyya a écrit :
> Hi,
>
> Thank you for the interest. So I am not working on a live production
> project yet. Here is the full context of what is my motivation.
>
> So I work for a leading software consultancy company. During a couple
> of  project's review/development we came. across this question of
> having to develop a new solution on the premise which should be
> modularized (sort of plugin) based where we can add behavior by
> dropping in plugins.
> Having seen the comfort companies have in terms of having staffing for
> spring boot in the Java space the very next. question. that comes is.
> can we develop spring boot modules that can be then deployed to that
> "plugin container" and these modules can talk using a contract. Which
> immediately screams. OSGi.
> So I. was thinking of putting together a working demo of a couple of
> spring boot applications that can demonstrate DI using OSGi.
> Something like lets say
>
> i. A dockerized Karaf container
> ii.One Spring boot app that functions like a rules engine.To handle
> all messy changing conditions.
> iii.One Spring Boot app which provides the clean processing endpoints.
>
> These second app can depend on the rules app and work along contracts.
> I see potential in several projects like OpenMRS extensions etc.
>
>
>
> On Thu, Feb 25, 2021 at 2:30 AM Francois Papon
> <fr...@openobject.fr> wrote:
>> Hi,
>>
>> Can you explain your use case a bit more and why you are interesting
>> about running springboot in Karaf?
>>
>> Do you have some features you would have in Karaf around springboot?
>>
>> As JB said, we are currently working on Karaf 5 so every feedback are
>> very valuable for us :)
>>
>> regards,
>>
>> François
>> fpapon@apache.org
>>
>> Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
>>> Hello,
>>>  I am learning Karaf and I think it has excellent potential for use at
>>> various places. I was looking to put together a quick example of using
>>> spring boot apps as modules on Karaf/
>>> I cannot find one. Can someone point me to a guide or example ?
>>>
>>> Thanks.

Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
Thank you very much for the quick help. Ok. So I looked at this
example. It's a great starter. Can this be extended to an example like
I was talking about above ?
Also when we say we are providing Spring Boot support in Karaf what do
we mean now ?
First class support of new bean definitions , actuator. based monitoring ?

On Thu, Feb 25, 2021 at 7:47 PM JR <ju...@gmail.com> wrote:
>
> Hi,
>
> I have run my springboot services with this guide/code
>
> https://github.com/dimmik/osgi-spring-boot-demo
>
> El jue, 25 feb 2021 a las 10:58, Som Shankar Bhattacharyya (<bh...@gmail.com>) escribió:
>>
>> Hi,
>>
>> Thank you for the interest. So I am not working on a live production
>> project yet. Here is the full context of what is my motivation.
>>
>> So I work for a leading software consultancy company. During a couple
>> of  project's review/development we came. across this question of
>> having to develop a new solution on the premise which should be
>> modularized (sort of plugin) based where we can add behavior by
>> dropping in plugins.
>> Having seen the comfort companies have in terms of having staffing for
>> spring boot in the Java space the very next. question. that comes is.
>> can we develop spring boot modules that can be then deployed to that
>> "plugin container" and these modules can talk using a contract. Which
>> immediately screams. OSGi.
>> So I. was thinking of putting together a working demo of a couple of
>> spring boot applications that can demonstrate DI using OSGi.
>> Something like lets say
>>
>> i. A dockerized Karaf container
>> ii.One Spring boot app that functions like a rules engine.To handle
>> all messy changing conditions.
>> iii.One Spring Boot app which provides the clean processing endpoints.
>>
>> These second app can depend on the rules app and work along contracts.
>> I see potential in several projects like OpenMRS extensions etc.
>>
>>
>>
>> On Thu, Feb 25, 2021 at 2:30 AM Francois Papon
>> <fr...@openobject.fr> wrote:
>> >
>> > Hi,
>> >
>> > Can you explain your use case a bit more and why you are interesting
>> > about running springboot in Karaf?
>> >
>> > Do you have some features you would have in Karaf around springboot?
>> >
>> > As JB said, we are currently working on Karaf 5 so every feedback are
>> > very valuable for us :)
>> >
>> > regards,
>> >
>> > François
>> > fpapon@apache.org
>> >
>> > Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
>> > > Hello,
>> > >  I am learning Karaf and I think it has excellent potential for use at
>> > > various places. I was looking to put together a quick example of using
>> > > spring boot apps as modules on Karaf/
>> > > I cannot find one. Can someone point me to a guide or example ?
>> > >
>> > > Thanks.
>
>
>
> --
> Julio Rey

Re: Need guide to deploy Spring boot services in Karaf

Posted by JR <ju...@gmail.com>.
Hi,

I have run my springboot services with this guide/code

https://github.com/dimmik/osgi-spring-boot-demo

El jue, 25 feb 2021 a las 10:58, Som Shankar Bhattacharyya (<
bhattacharyyasom@gmail.com>) escribió:

> Hi,
>
> Thank you for the interest. So I am not working on a live production
> project yet. Here is the full context of what is my motivation.
>
> So I work for a leading software consultancy company. During a couple
> of  project's review/development we came. across this question of
> having to develop a new solution on the premise which should be
> modularized (sort of plugin) based where we can add behavior by
> dropping in plugins.
> Having seen the comfort companies have in terms of having staffing for
> spring boot in the Java space the very next. question. that comes is.
> can we develop spring boot modules that can be then deployed to that
> "plugin container" and these modules can talk using a contract. Which
> immediately screams. OSGi.
> So I. was thinking of putting together a working demo of a couple of
> spring boot applications that can demonstrate DI using OSGi.
> Something like lets say
>
> i. A dockerized Karaf container
> ii.One Spring boot app that functions like a rules engine.To handle
> all messy changing conditions.
> iii.One Spring Boot app which provides the clean processing endpoints.
>
> These second app can depend on the rules app and work along contracts.
> I see potential in several projects like OpenMRS extensions etc.
>
>
>
> On Thu, Feb 25, 2021 at 2:30 AM Francois Papon
> <fr...@openobject.fr> wrote:
> >
> > Hi,
> >
> > Can you explain your use case a bit more and why you are interesting
> > about running springboot in Karaf?
> >
> > Do you have some features you would have in Karaf around springboot?
> >
> > As JB said, we are currently working on Karaf 5 so every feedback are
> > very valuable for us :)
> >
> > regards,
> >
> > François
> > fpapon@apache.org
> >
> > Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
> > > Hello,
> > >  I am learning Karaf and I think it has excellent potential for use at
> > > various places. I was looking to put together a quick example of using
> > > spring boot apps as modules on Karaf/
> > > I cannot find one. Can someone point me to a guide or example ?
> > >
> > > Thanks.
>


-- 
Julio Rey

Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
Hi,

Thank you for the interest. So I am not working on a live production
project yet. Here is the full context of what is my motivation.

So I work for a leading software consultancy company. During a couple
of  project's review/development we came. across this question of
having to develop a new solution on the premise which should be
modularized (sort of plugin) based where we can add behavior by
dropping in plugins.
Having seen the comfort companies have in terms of having staffing for
spring boot in the Java space the very next. question. that comes is.
can we develop spring boot modules that can be then deployed to that
"plugin container" and these modules can talk using a contract. Which
immediately screams. OSGi.
So I. was thinking of putting together a working demo of a couple of
spring boot applications that can demonstrate DI using OSGi.
Something like lets say

i. A dockerized Karaf container
ii.One Spring boot app that functions like a rules engine.To handle
all messy changing conditions.
iii.One Spring Boot app which provides the clean processing endpoints.

These second app can depend on the rules app and work along contracts.
I see potential in several projects like OpenMRS extensions etc.



On Thu, Feb 25, 2021 at 2:30 AM Francois Papon
<fr...@openobject.fr> wrote:
>
> Hi,
>
> Can you explain your use case a bit more and why you are interesting
> about running springboot in Karaf?
>
> Do you have some features you would have in Karaf around springboot?
>
> As JB said, we are currently working on Karaf 5 so every feedback are
> very valuable for us :)
>
> regards,
>
> François
> fpapon@apache.org
>
> Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
> > Hello,
> >  I am learning Karaf and I think it has excellent potential for use at
> > various places. I was looking to put together a quick example of using
> > spring boot apps as modules on Karaf/
> > I cannot find one. Can someone point me to a guide or example ?
> >
> > Thanks.

Re: Need guide to deploy Spring boot services in Karaf

Posted by Francois Papon <fr...@openobject.fr>.
Hi,

Can you explain your use case a bit more and why you are interesting
about running springboot in Karaf?

Do you have some features you would have in Karaf around springboot?

As JB said, we are currently working on Karaf 5 so every feedback are
very valuable for us :)

regards,

François
fpapon@apache.org

Le 24/02/2021 à 18:09, Som Shankar Bhattacharyya a écrit :
> Hello,
>  I am learning Karaf and I think it has excellent potential for use at
> various places. I was looking to put together a quick example of using
> spring boot apps as modules on Karaf/
> I cannot find one. Can someone point me to a guide or example ?
>
> Thanks.

Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
I have just started learning Karaf so you saying I am getting the idea
is a good deal  for me :). Thanks and looking forward to it.

On Sat, Feb 27, 2021 at 10:57 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> OK for the example.
>
> For the second point, it’s exactly the target of Karaf5: a runtime/launcher able to run multiple spring boot apps (and even mixing spring boot apps with osgi or micro profile ones).
>
> I fully agree with your latest statement: "Possibly highlighting that we can modularize our applications using our favorite development framework and leverage Karaf runtime for a wider inter application contracts , cross cutting concerns etc.". You got exactly the idea/target of Karaf5 ;)
>
> Regards
> JB
>
> > Le 26 févr. 2021 à 08:19, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> >
> > Yes. I think that will be super useful to have an example that just
> > works by bundling a spring boot app as a bundle and launch.
> > But , for a good out of the box recipe one quick sell(to the java
> > microservices world) could be  to establish an example where we have
> > two(or more) spring boot apps deployed as modules leveraging karaf
> > flavors.
> > Possibly highlighting that we can modularize our applications using
> > our favorite development framework and leverage Karaf runtime for a
> > wider inter application contracts , cross cutting concerns etc.
> >
> >
> > On Fri, Feb 26, 2021 at 11:50 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
> >>
> >> By the way, it’s always possible to package the spring boot app as a bundle (mostly using private package), and add a activator to launch the spring boot app.
> >>
> >> That’s pretty simple (I can add an example to show that).
> >>
> >> However, we don’t leverage the Karaf flavors here (the service registry and Karaf features) as each spring boot app is in its own isolated class loader and Karaf is a launcher.
> >> It could be interesting anyway though ;)
> >>
> >> I will add an example for wrapping build + launcher in Karaf.
> >>
> >> Regards
> >> JB
> >>
> >> Le 24 févr. 2021 à 19:00, Jean-Baptiste Onofre <jb...@nanthrax.net> a écrit :
> >>
> >> I will share all details on the mailing list soon.
> >>
> >> Regards
> >> JB
> >>
> >> Le 24 févr. 2021 à 18:39, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> >>
> >> Where can I look for that next week ? That will be super useful to see while I keep learning the other use cases.
> >>
> >> On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).
> >>>
> >>> If you wanna try, you will be able to take a look end of next week.
> >>>
> >>> Regards
> >>> JB
> >>>
> >>>> Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> >>>>
> >>>> Hello,
> >>>> I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
> >>>> I cannot find one. Can someone point me to a guide or example ?
> >>>>
> >>>> Thanks.
> >>>
> >>
> >>
>

Re: Need guide to deploy Spring boot services in Karaf

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
OK for the example.

For the second point, it’s exactly the target of Karaf5: a runtime/launcher able to run multiple spring boot apps (and even mixing spring boot apps with osgi or micro profile ones).

I fully agree with your latest statement: "Possibly highlighting that we can modularize our applications using our favorite development framework and leverage Karaf runtime for a wider inter application contracts , cross cutting concerns etc.". You got exactly the idea/target of Karaf5 ;)

Regards
JB

> Le 26 févr. 2021 à 08:19, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> 
> Yes. I think that will be super useful to have an example that just
> works by bundling a spring boot app as a bundle and launch.
> But , for a good out of the box recipe one quick sell(to the java
> microservices world) could be  to establish an example where we have
> two(or more) spring boot apps deployed as modules leveraging karaf
> flavors.
> Possibly highlighting that we can modularize our applications using
> our favorite development framework and leverage Karaf runtime for a
> wider inter application contracts , cross cutting concerns etc.
> 
> 
> On Fri, Feb 26, 2021 at 11:50 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>> 
>> By the way, it’s always possible to package the spring boot app as a bundle (mostly using private package), and add a activator to launch the spring boot app.
>> 
>> That’s pretty simple (I can add an example to show that).
>> 
>> However, we don’t leverage the Karaf flavors here (the service registry and Karaf features) as each spring boot app is in its own isolated class loader and Karaf is a launcher.
>> It could be interesting anyway though ;)
>> 
>> I will add an example for wrapping build + launcher in Karaf.
>> 
>> Regards
>> JB
>> 
>> Le 24 févr. 2021 à 19:00, Jean-Baptiste Onofre <jb...@nanthrax.net> a écrit :
>> 
>> I will share all details on the mailing list soon.
>> 
>> Regards
>> JB
>> 
>> Le 24 févr. 2021 à 18:39, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
>> 
>> Where can I look for that next week ? That will be super useful to see while I keep learning the other use cases.
>> 
>> On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>>> 
>>> Hi,
>>> 
>>> Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).
>>> 
>>> If you wanna try, you will be able to take a look end of next week.
>>> 
>>> Regards
>>> JB
>>> 
>>>> Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
>>>> 
>>>> Hello,
>>>> I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
>>>> I cannot find one. Can someone point me to a guide or example ?
>>>> 
>>>> Thanks.
>>> 
>> 
>> 


Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
Yes. I think that will be super useful to have an example that just
works by bundling a spring boot app as a bundle and launch.
But , for a good out of the box recipe one quick sell(to the java
microservices world) could be  to establish an example where we have
two(or more) spring boot apps deployed as modules leveraging karaf
flavors.
Possibly highlighting that we can modularize our applications using
our favorite development framework and leverage Karaf runtime for a
wider inter application contracts , cross cutting concerns etc.


On Fri, Feb 26, 2021 at 11:50 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> By the way, it’s always possible to package the spring boot app as a bundle (mostly using private package), and add a activator to launch the spring boot app.
>
> That’s pretty simple (I can add an example to show that).
>
> However, we don’t leverage the Karaf flavors here (the service registry and Karaf features) as each spring boot app is in its own isolated class loader and Karaf is a launcher.
> It could be interesting anyway though ;)
>
> I will add an example for wrapping build + launcher in Karaf.
>
> Regards
> JB
>
> Le 24 févr. 2021 à 19:00, Jean-Baptiste Onofre <jb...@nanthrax.net> a écrit :
>
> I will share all details on the mailing list soon.
>
> Regards
> JB
>
> Le 24 févr. 2021 à 18:39, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
>
> Where can I look for that next week ? That will be super useful to see while I keep learning the other use cases.
>
> On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>>
>> Hi,
>>
>> Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).
>>
>> If you wanna try, you will be able to take a look end of next week.
>>
>> Regards
>> JB
>>
>> > Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
>> >
>> > Hello,
>> >  I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
>> > I cannot find one. Can someone point me to a guide or example ?
>> >
>> > Thanks.
>>
>
>

Re: Need guide to deploy Spring boot services in Karaf

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
By the way, it’s always possible to package the spring boot app as a bundle (mostly using private package), and add a activator to launch the spring boot app.

That’s pretty simple (I can add an example to show that).

However, we don’t leverage the Karaf flavors here (the service registry and Karaf features) as each spring boot app is in its own isolated class loader and Karaf is a launcher.
It could be interesting anyway though ;)

I will add an example for wrapping build + launcher in Karaf.

Regards
JB

> Le 24 févr. 2021 à 19:00, Jean-Baptiste Onofre <jb...@nanthrax.net> a écrit :
> 
> I will share all details on the mailing list soon.
> 
> Regards
> JB
> 
>> Le 24 févr. 2021 à 18:39, Som Shankar Bhattacharyya <bhattacharyyasom@gmail.com <ma...@gmail.com>> a écrit :
>> 
>> Where can I look for that next week ? That will be super useful to see while I keep learning the other use cases.
>> 
>> On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>> Hi,
>> 
>> Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).
>> 
>> If you wanna try, you will be able to take a look end of next week.
>> 
>> Regards
>> JB
>> 
>> > Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bhattacharyyasom@gmail.com <ma...@gmail.com>> a écrit :
>> > 
>> > Hello,
>> >  I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
>> > I cannot find one. Can someone point me to a guide or example ?
>> > 
>> > Thanks.
>> 
> 


Re: Need guide to deploy Spring boot services in Karaf

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
I will share all details on the mailing list soon.

Regards
JB

> Le 24 févr. 2021 à 18:39, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> 
> Where can I look for that next week ? That will be super useful to see while I keep learning the other use cases.
> 
> On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
> Hi,
> 
> Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).
> 
> If you wanna try, you will be able to take a look end of next week.
> 
> Regards
> JB
> 
> > Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bhattacharyyasom@gmail.com <ma...@gmail.com>> a écrit :
> > 
> > Hello,
> >  I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
> > I cannot find one. Can someone point me to a guide or example ?
> > 
> > Thanks.
> 


Re: Need guide to deploy Spring boot services in Karaf

Posted by Som Shankar Bhattacharyya <bh...@gmail.com>.
Where can I look for that next week ? That will be super useful to see
while I keep learning the other use cases.

On Wed, Feb 24, 2021 at 10:45 PM Jean-Baptiste Onofre <jb...@nanthrax.net>
wrote:

> Hi,
>
> Spring boot support in Karaf is not yet available out of the box. It will
> be available in Karaf 5 (in preparation).
>
> If you wanna try, you will be able to take a look end of next week.
>
> Regards
> JB
>
> > Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <
> bhattacharyyasom@gmail.com> a écrit :
> >
> > Hello,
> >  I am learning Karaf and I think it has excellent potential for use at
> various places. I was looking to put together a quick example of using
> spring boot apps as modules on Karaf/
> > I cannot find one. Can someone point me to a guide or example ?
> >
> > Thanks.
>
>

Re: Need guide to deploy Spring boot services in Karaf

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

Spring boot support in Karaf is not yet available out of the box. It will be available in Karaf 5 (in preparation).

If you wanna try, you will be able to take a look end of next week.

Regards
JB

> Le 24 févr. 2021 à 18:09, Som Shankar Bhattacharyya <bh...@gmail.com> a écrit :
> 
> Hello,
>  I am learning Karaf and I think it has excellent potential for use at various places. I was looking to put together a quick example of using spring boot apps as modules on Karaf/
> I cannot find one. Can someone point me to a guide or example ?
> 
> Thanks.