Wrapping or re-packaging the Vaadin jars should solve for it.

I agree, for a comprehensive web application you want to be able to “add 
things” at runtime without a reboot. Spring Boot / Kubernetes-based 
micro-services architectures hard force you into these cgi-bin paradigms which 
offer less value to rich applications.

-Matt

> On Sep 19, 2023, at 1:37 AM, Paul Fraser <[email protected]> wrote:
> 
> Hi JB,
> 
> My project has until recently worked well using Karaf for loading new Vaadin 
> views as OSGi jars.
> 
> Changed policy at Vaadin has made the use of OSGi virtually impossible and I 
> have been forced into the Spring Boot world.
> 
> Much to my surprise,  Spring Boot has turned out to be great for coding and 
> debugging my code.
> 
> Missing is the ability to add new views on the fly which karaf kindly offered.
> 
> I have tried to find a way to add new views to Spring Boot during a restart 
> but no success.
> 
> Minho seems to be a possible solution to this problem but the learning curve 
> seems to be very steep.
> 
> If Minho was promoted as a way to add some OSGi functionality to Spring boot, 
> you may have a winner.
> 
> If this is possible, some examples of how to do it could lead to a more 
> reasonable learning curve.
> 
> Also, now we are venturing into java 20 and 21 it seems that Spring Boot has 
> taken early steps to incorporate projects loom, panama etc..
> 
> OSGi may be falling behind with these projects.
> 
> Paul Fraser
> 
> On 18/09/2023 7:34 pm, Jean-Baptiste Onofré wrote:
>> Hi Paul,
>> 
>> Yes, that's the idea: having a central/shared registry gathering beans
>> from OSGi, Spring Boot, CDI, whatever.
>> The "dynamic" approach (adding/removing applications managed by a app
>> manager like Spring Boot, OSGi, ...) is also a target.
>> 
>> To be honest, currently, Minho is not moving forward due to the low
>> interest we got. If we have clear signs that people are interested in
>> colocation and Minho runtime paradigm, it could change :)
>> 
>> Regards
>> JB
>> 
>> On Mon, Sep 18, 2023 at 6:29 AM Paul Fraser <[email protected]> wrote:
>>> Hi,
>>> 
>>> Cannot quite get my head around Apache Minho but--
>>> 
>>> Can OSGi services be somehow added to the Spring Boot application at
>>> runtime or even at Spring Boot restart?
>>> 
>>> In effect having Spring Boot acting like an OSGi runtime with services
>>> being added and removed as required.
>>> 
>>> Is Minho going to proceed?
>>> 
>>> Paul Fraser
>>> 
>>> 

Reply via email to