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 <[email protected]> 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 > [email protected] > > 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 > > <[email protected]> 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 > >> [email protected] > >> > >> 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.
