What does OSGi solve?

前端 未结 15 2473
猫巷女王i
猫巷女王i 2020-11-27 08:41

I\'ve read on Wikipedia and other sites about OSGi, but I don\'t really see the big picture. It says that it\'s a component-based platform, and that you can reload modules a

15条回答
  •  时光说笑
    2020-11-27 09:26

    Others have already outlined the benefits in detail, I hereby explain the practical usecases I have either seen or used OSGi.

    1. In one of our application, we have event based flow and flow is defined in plugins based on OSGi platform so tomorrow if some client wants different/additional flow then he just have to deploy one more plugin, configure it from our console and he is done.
    2. It is used for deploying different Store connectors, for example, suppose we already have Oracle DB connector and tomorrow mongodb is required to be connected then write a new connector and deploy it and configure the details through console and again you are done. deployment of connnectors is handled by OSGi plugin framework.

提交回复
热议问题