WebLogic and OSGi

久未见 提交于 2019-12-10 06:10:06

问题


Is there a way to run an OSGi container in the Weblogic Application Server? I know that it works with JBoss, Glassfish and there are possibilities to add an Equinox servlet bridge to your OSGi project (implementation of the bridge is too old). But I want something similar to JBoss/Glassfish functionality where it is very easy to deploy your OSGi environment, because there are already OSGi implementations. Most of the articels I found were very old and there are no more recent ones. Can someone help with hints or better some links?

Maybe Bnd could create a .war file for me, but how can I achieve it. I read there is a possibility. Example would be great!

EDIT

Just for those who still look into that case. Since version 12.1.2 Weblogic supports OSGi out-of-the-box.


回答1:


I'd consider the Apache Felix Http bridge. It worked a lot better for me than the ancient Equinox bridge (I messed around with it for a while, but never got it to work well), after I switched to Felix I got something working pretty quickly.

If I understand you correctly, you want to make a 'plain' war file, that can be deployed in any Java EE server. If that's the case, there is nothing OSGi about your war file, so I don't think Bnd will do anything for you.




回答2:


WebLogic now supports OSGi in version 12.1.2 . See this



来源:https://stackoverflow.com/questions/11032214/weblogic-and-osgi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!