[ovirt-devel] Thoughts on modularization

Yair Zaslavsky yzaslavs at redhat.com
Wed Nov 5 21:51:09 UTC 2014



----- Original Message -----
> From: "Alon Bar-Lev" <alonbl at redhat.com>
> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> Cc: "Vojtech Szocs" <vszocs at redhat.com>, "Mark Proctor" <mdproctor at gmail.com>, devel at ovirt.org
> Sent: Wednesday, November 5, 2014 10:45:53 PM
> Subject: Re: [ovirt-devel] Thoughts on modularization
> 
> 
> 
> ----- Original Message -----
> > From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > Cc: "Vojtech Szocs" <vszocs at redhat.com>, "Mark Proctor"
> > <mdproctor at gmail.com>, devel at ovirt.org
> > Sent: Wednesday, November 5, 2014 10:40:05 PM
> > Subject: Re: [ovirt-devel] Thoughts on modularization
> > 
> > 
> > > 
> > > 4. there must be core model to trigger the entire thing, core cannot be
> > > just
> > > a loader.
> > 
> > Alon, can you elaborate here on number 4?
> > In an ideal world, wouldn't you want to have the "engine core" be a small
> > as
> > something that goes over the extensions and loads them? and maybe let each
> > extension expose somehow its relevant part of rest-api (besides of using
> > ext-api to interact between extension and of course each extension should
> > have the relevant logic implementerd within)
> 
> Well, there is a balance between generic and specific.
> If you go this route, can the Java JRE be the core you are looking for?

No, you need some loader/starter to enumerate your extensions and load them.
Maybe a thin service that uses ExtensionsManager.

> The wisdom is to draw the line where the building blocks serves the purpose
> of building the application you need.

I agree.

> 
> Alon
> 



More information about the Devel mailing list