播放框架和OSGI [英] Play framework and OSGI

查看:95
本文介绍了播放框架和OSGI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Play框架与OSGI集成在一起以创建可插入组件?有人尝试过吗?

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

推荐答案

如果您的意思是使用OSGi创建Play模块",则否,不支持

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

如果您的意思是将播放作为OSGi模块部署",则否,不支持

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

说句公道话,没有理由争取它的支持.您可以阅读Spring创始人关于OSGi的这些想法. OSGi会给Play增加额外的复杂性,而Play的主要目标是成为一个易于使用,删除一些Java约定(如Sessions)的快速开发平台.这样会破坏目的.

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.

这篇关于播放框架和OSGI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆