Play framework and OSGI

前端 未结 2 579
走了就别回头了
走了就别回头了 2021-02-13 13:13

Is it possible to integrate play framework with OSGI to create plugable components? Did someone try it?

2条回答
  •  隐瞒了意图╮
    2021-02-13 13:40

    If you mean "create Play modules with OSGi", then no, it's not supported

    If you mean "deploy Play as an OSGi module" then no, it's not supported

    And to be fair, there's no reason to push its support. You can read these thoughts from Spring founder on OSGi, as an example. OSGi would add extra complexity to Play, while the main aim of Play is to be a rapid development platform, simple to use, removing some Java conventions (like Sessions). It would kind of defeat the purpose.

提交回复
热议问题