Marco Ehrentreich wrote:I'm wondering if there's a concept for "distributed OSGi" in general?!? Something like Maven repositories come to mind where OSGi boundles could be looked up, stored and retrieved by any OSGi runtime environment as needed.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Marco Ehrentreich wrote:This OSGi thing gets really more and more interesting with every new information
Just from reading your explanation I'm wondering why OSGi isn't used for many more applications.
Combined with Maven this seems like an excellent solution for maximum code reuse, automatic software updates, plugin mechanisms etc.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Help me spread the word!
Marco Ehrentreich wrote:
Just from reading your explanation I'm wondering why OSGi isn't used for many more applications.
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kengkaj Sathianpantarit wrote:
Actually, it's like do we really need it? Many things are interesting, but it's not like that they are the only ways to do what we want efficiently.
For example, if we don't deploy systems to production often, is it really need to put an effort breaking systems to separated modules that can be deployed independently? And server restart isn't that bad, it needs just couple of minutes to restart.
And if you're interested to use Spring-DM, don't forget that its license is GPL, if you don't be careful, you might be sued or be forced to open source code.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
For example, if we don't deploy systems to production often, is it really need to put an effort breaking systems to separated modules that can be deployed independently?
Craig Walls wrote:
Kengkaj Sathianpantarit wrote:
Actually, it's like do we really need it? Many things are interesting, but it's not like that they are the only ways to do what we want efficiently.
For example, if we don't deploy systems to production often, is it really need to put an effort breaking systems to separated modules that can be deployed independently? And server restart isn't that bad, it needs just couple of minutes to restart.
First, there's more to OSGi than fine-grained deployment...I just mentioned that piece because it fell into the conversation nicely.
Craig Walls wrote:
Second, you speak of the "effort breaking systems to separated modules" as if that in itself is a bad thing or not worth the effort. If that's what you're saying, then I could not disagree more. Breaking systems into modules is a valuable practice (for reasons I've already given several times in this forum).
Craig Walls wrote:
And if you're interested to use Spring-DM, don't forget that its license is GPL, if you don't be careful, you might be sued or be forced to open source code.
Let me stop you there...Spring-DM is covered under the Apache 2.0 license. SpringSource dm Server is GPL, but Spring-DM is a different thing and is Apache 2.0 licensed...just like the much of the rest of the Spring portfolio.
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Marco Ehrentreich wrote:
For example, if we don't deploy systems to production often, is it really need to put an effort breaking systems to separated modules that can be deployed independently?
I have to disagree here, too.
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
If you read the part "can be deployed independently" again, you might agree with me .
Kengkaj Sathianpantarit wrote:
Craig Walls wrote:
Second, you speak of the "effort breaking systems to separated modules" as if that in itself is a bad thing or not worth the effort. If that's what you're saying, then I could not disagree more. Breaking systems into modules is a valuable practice (for reasons I've already given several times in this forum).
Please read my sentence, don't just part of it. I think you missed the part "that can be deployed independently". It's totally different.
Marco Ehrentreich wrote:
If you read the part "can be deployed independently" again, you might agree with me .
Yes, yes... I agree It just sounded like you would see deployment issues as the only good reason for modularization...
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
I raised that because you asked like why many people don't use OSGi. For me it's depends on many things like infrastructure, working environment, resources, priorities, etc., not just oh it's good, why don't you use it?