如何将 SpringSource dm Server 集成到另一个基于 OSGi 的应用程序服务器中?

发布于 2024-07-06 08:46:36 字数 228 浏览 12 评论 0原文

我真的很想使用 SpringSource dm Server,但是我们的客户要求我们在他们的应用程序服务器(Websphere)上运行我们的应用程序。 有没有办法将SpringSource dm Server与其他应用服务器集成? 至少dm Server是基于OSGi构建的,许多其他应用服务器(包括Websphere)也是基于OSGi的。 是否可以将 SpringSource dm Server 作为 websphere 组件运行?

I would really like to use SpringSource dm Server, but our customer requires us to run our apps on their application server (Websphere). Is there a way to integrate SpringSource dm Server with other application servers? At least dm Server is build on OSGi, and many other application servers (including Websphere) are based on OSGi as well. Is it possible to run a SpringSource dm Server as a websphere component?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

穿透光 2024-07-13 08:46:36

SpringSource dm Server 基于 Eclipse Equinox OSGi 框架(不应与 dm Server 中包含的 Spring DM 技术混淆,后者可以在 Equinox、Apache Felix 和 Knopflerfish 上运行)。

然而,将 dm Server 嵌入到另一个应用程序服务器(例如基于 Equinox 的 WebSphere Application Server)中将是一项非常重要的工作。 有必要让这两个产品使用相同版本的 Equinox(目前还没有),然后修改 dm Server 以支持服务器中的嵌入(例如,与主机服务器的应用程序调用机制、线程池和类加载集成)方案)。

如果您认为此支持很重要,请提出要求(需要简单注册) DM 服务器。

SpringSource dm Server is based on the Eclipse Equinox OSGi framework (and should not be confused with the Spring DM technology, included in dm Server, which can run on Equinox, Apache Felix, and Knopflerfish).

However, embedding dm Server in another application server, such as WebSphere Application Server, based on Equinox would be a non-trivial piece of work. It would be necessary to get both products to use the same version of Equinox, which they currently do not, then modify dm Server to support embedding in the server (e.g. to integrate with the host server's application invocation mechanism, thread pools, and class loading scheme).

If you think this support is important, please raise a requirement (which requires a simple registration) against dm Server.

吖咩 2024-07-13 08:46:36

Spring DM 部署在 Knoplerfish OSGi 实现上。

Websphere 部署在 Equinox OSGi 实现上。

那么问题就变成了——两者可以互换吗? 他们都支持 R4,所以我想说,是的,他们是。

下一个问题是检查依赖关系,特别是像 HttpServices 这样的东西。

我想说这没问题,但我认为最终的证明是尝试部署它。 最简单的方法是将捆绑包放入 Websphere 部署中。 您将需要您的捆绑包以及您正在使用的任何弹簧捆绑包。

Spring DM is deployed on a Knoplerfish OSGi implementation.

Websphere is deployed on an Equinox OSGi implmentation.

So the question becomes - are the two interchangeable? They both support R4, so I would say, yes, they are.

The next question would be to check dependencies, particularly with respect to things like HttpServices.

I would say this would be ok, but I think the final proof would be try deploying it. Easiest would be to drop the bundles into a Websphere deployment. You'll need your bundles and whatever spring bundles you're using.

灼疼热情 2024-07-13 08:46:36

我对这个话题也很感兴趣。 看待这个问题的另一种方式是,您希望应用程序可部署在 Spring dm 服务器和传统应用程序服务器(Websphere、weblogic、JBoss 等)中。

OSGi 容器可嵌入非 OSGi 应用程序中,因此理论上可以将应用程序部署到 Spring dm 服务器,并将相同的应用程序 + OSGi 容器部署到传统应用程序服务器。

现在,像往常一样,问题在于细节,包括 Web 开发以及外部应用程序服务器和 OSGi 容器之间桥接 servlet 等主题。

I'm also interested in this topic. Another way of looking at this problem is that you want an application depoyable in both Spring dm server and a traditional app server (Websphere, weblogic, JBoss, ...).

The OSGi containers are embeddable inside non-OSGi applications, so it is theoretically possible to deploy an app to both Spring dm server and the same app + OSGi container to a traditional app server.

Now, as usual, the devil's in the details, including such topics of web development and bridging servlets between the outer app server and the OSGi container.

梦里梦着梦中梦 2024-07-13 08:46:36

我认为事实并非如此......

请参阅以下链接: http://apsblog.burtongroup.com/2008/11/websphere-7-osgi.html

但另一方面,趋势似乎很明显......总会有一段时间何时可以将基于 OSGI 的应用程序部署在 Java EE 应用程序服务器上

I do not think that this is really the case ...

see the following link for this: http://apsblog.burtongroup.com/2008/11/websphere-7-osgi.html

But it seems on the other side, that the trend is clear ... there will be a time when OSGI based application can be deployed on Java EE application servers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文