[英]correct way to turn EAR module into OSGI bundle
There is a necessity to turn part of EAR (namely - war) into OSGI bundle and retain it's interoperability. 有必要将EAR的一部分(即 - 战争)转变为OSGI捆绑并保持其互操作性。 Glassfish 3.0.1 already has osgi-web-container
module and I succeeded to deploy standalone OSGI war. Glassfish 3.0.1已经有了osgi-web-container
模块,我成功地部署了独立的OSGI战争。
But in case of of ex-enterprise war it looks a bit difficult to me. 但是在前企业战争的情况下,对我来说看起来有点困难。
@EJB
injections with true JNDI lookups? 是否足以用真正的JNDI查找替换@EJB
注入? Here are a few things to try out: 以下是一些可以尝试的方法:
@EJB
by JNDI lookup. 无需通过JNDI查找替换@EJB
。 Your @EJB
will continue to work even inside your OSGi War (aka WAB). 你的@EJB
将继续在你的OSGi战争(又名WAB)内部工作。 I suggest you follow up in GlassFish forum . 我建议你跟进GlassFish论坛 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.