OSGi to SpringBoot











up vote
2
down vote

favorite












Currently we use OSGi framework for modular application development. But we are now planning to migrate it to springboot . Any relevant articles / tutorials / success stories on this ?



Any help would be greatly appreciated



Thanks
Niyas










share|improve this question






















  • I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
    – Kerry
    Nov 12 at 7:52












  • Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
    – Niyas Manzoor
    Nov 12 at 9:56















up vote
2
down vote

favorite












Currently we use OSGi framework for modular application development. But we are now planning to migrate it to springboot . Any relevant articles / tutorials / success stories on this ?



Any help would be greatly appreciated



Thanks
Niyas










share|improve this question






















  • I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
    – Kerry
    Nov 12 at 7:52












  • Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
    – Niyas Manzoor
    Nov 12 at 9:56













up vote
2
down vote

favorite









up vote
2
down vote

favorite











Currently we use OSGi framework for modular application development. But we are now planning to migrate it to springboot . Any relevant articles / tutorials / success stories on this ?



Any help would be greatly appreciated



Thanks
Niyas










share|improve this question













Currently we use OSGi framework for modular application development. But we are now planning to migrate it to springboot . Any relevant articles / tutorials / success stories on this ?



Any help would be greatly appreciated



Thanks
Niyas







osgi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 at 6:54









Niyas Manzoor

112




112












  • I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
    – Kerry
    Nov 12 at 7:52












  • Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
    – Niyas Manzoor
    Nov 12 at 9:56


















  • I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
    – Kerry
    Nov 12 at 7:52












  • Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
    – Niyas Manzoor
    Nov 12 at 9:56
















I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
– Kerry
Nov 12 at 7:52






I'm not aware of any specific articles regarding this sort of migration but you might like to consider your reasons for the move and then consider the weakenesses and strengths of each technology particularly in the context of your migration and whether you will benefit overall. Do you have any specific reasons for the move?
– Kerry
Nov 12 at 7:52














Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
– Niyas Manzoor
Nov 12 at 9:56




Hi Kerry , thanks for the response .. main reasons are : 1) lack of osgified bundles for the third party libraries used 2 ) our applications have many components running in the same osgi container (equinox) .. it is not possible to separate these components to scale horizontally in osgi .. which can be seperated as a microservice in springboot and can be scaled
– Niyas Manzoor
Nov 12 at 9:56












1 Answer
1






active

oldest

votes

















up vote
1
down vote













I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.



If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.






share|improve this answer





















  • Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
    – Niyas Manzoor
    Nov 28 at 9:15











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53257170%2fosgi-to-springboot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.



If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.






share|improve this answer





















  • Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
    – Niyas Manzoor
    Nov 28 at 9:15















up vote
1
down vote













I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.



If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.






share|improve this answer





















  • Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
    – Niyas Manzoor
    Nov 28 at 9:15













up vote
1
down vote










up vote
1
down vote









I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.



If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.






share|improve this answer












I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.



If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 18 at 8:05









Christian Schneider

15.5k12346




15.5k12346












  • Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
    – Niyas Manzoor
    Nov 28 at 9:15


















  • Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
    – Niyas Manzoor
    Nov 28 at 9:15
















Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
– Niyas Manzoor
Nov 28 at 9:15




Hi Christian, sorry for the belated response and thanks for the info . Will check the tutorial
– Niyas Manzoor
Nov 28 at 9:15


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53257170%2fosgi-to-springboot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Vorschmack

Quarantine