WebLogic和OSGi [英] WebLogic and OSGi
问题描述
也许Bnd可以为我创建一个.war文件,但是如何实现它。我读到有可能。例子会很棒!
编辑
只是为那些仍然研究这种情况的人。自12.1.2版开始,Weblogic支持OSGi开箱即用。
我会考虑 Apache Felix Http bridge 。对于我来说,它比古老的Equinox大桥好一点(我搞砸了一段时间,但是从来没有让它工作得很好),在我切换到Felix之后,我得到了很快的工作。
如果我正确理解你,你想制作一个'平原'战争文件,可以部署在任何Java EE服务器中。如果是这样,那么你的战争文件就没有什么OSGi,所以我不认为Bnd会为你做任何事情。
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.
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.
这篇关于WebLogic和OSGi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!