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?
我真的很想使用SpringSource dm Server,但我们的客户要求我们在他们的应用服务器(Websphere)上运行我们的应用程序。有没有办法将SpringSource dm Server与其他应用程序服务器集成?至少dm Server是在OSGi上构建的,许多其他应用服务器(包括Websphere)也基于OSGi。是否可以将SpringSource dm Server作为websphere组件运行?
4 个解决方案
#1
1
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).
SpringSource dm Server基于Eclipse Equinox OSGi框架(不应与Spring DM技术混淆,包括在dm Server中,它可以在Equinox,Apache Felix和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).
但是,将dm Server嵌入到基于Equinox的其他应用程序服务器(例如WebSphere Application Server)中将是一件非常重要的工作。有必要让两个产品使用相同版本的Equinox,它们目前没有,然后修改dm Server以支持嵌入在服务器中(例如,与主机服务器的应用程序调用机制,线程池和类加载集成)方案)。
If you think this support is important, please raise a requirement (which requires a simple registration) against dm Server.
如果您认为此支持很重要,请针对dm Server提出要求(需要简单注册)。
#2
1
Spring DM is deployed on a Knoplerfish OSGi implementation.
Spring DM部署在Knoplerfish OSGi实现上。
Websphere is deployed on an Equinox OSGi implmentation.
Websphere部署在Equinox OSGi实现中。
So the question becomes - are the two interchangeable? They both support R4, so I would say, yes, they are.
所以问题变成了 - 这两个是可以互换的吗?他们都支持R4,所以我会说,是的,他们是。
The next question would be to check dependencies, particularly with respect to things like HttpServices.
接下来的问题是检查依赖关系,特别是关于像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.
我会说这没关系,但我认为最后的证据是尝试部署它。最简单的方法是将捆绑包放入Websphere部署中。你需要你的捆绑包以及你正在使用的任何弹簧束。
#3
0
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, ...).
我也对这个话题感兴趣。查看此问题的另一种方法是,您希望在Spring dm服务器和传统应用服务器(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.
OSGi容器可嵌入非OSGi应用程序中,因此理论上可以将应用程序部署到Spring dm服务器和相同的app + OSGi容器到传统的应用程序服务器。
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.
现在,像往常一样,细节中的魔鬼,包括外部应用服务器和OSGi容器之间的Web开发和桥接servlet等主题。
#4
0
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
请参阅以下链接: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
但另一方面,趋势很明显......有一段时间可以在Java EE应用服务器上部署基于OSGI的应用程序
#1
1
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).
SpringSource dm Server基于Eclipse Equinox OSGi框架(不应与Spring DM技术混淆,包括在dm Server中,它可以在Equinox,Apache Felix和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).
但是,将dm Server嵌入到基于Equinox的其他应用程序服务器(例如WebSphere Application Server)中将是一件非常重要的工作。有必要让两个产品使用相同版本的Equinox,它们目前没有,然后修改dm Server以支持嵌入在服务器中(例如,与主机服务器的应用程序调用机制,线程池和类加载集成)方案)。
If you think this support is important, please raise a requirement (which requires a simple registration) against dm Server.
如果您认为此支持很重要,请针对dm Server提出要求(需要简单注册)。
#2
1
Spring DM is deployed on a Knoplerfish OSGi implementation.
Spring DM部署在Knoplerfish OSGi实现上。
Websphere is deployed on an Equinox OSGi implmentation.
Websphere部署在Equinox OSGi实现中。
So the question becomes - are the two interchangeable? They both support R4, so I would say, yes, they are.
所以问题变成了 - 这两个是可以互换的吗?他们都支持R4,所以我会说,是的,他们是。
The next question would be to check dependencies, particularly with respect to things like HttpServices.
接下来的问题是检查依赖关系,特别是关于像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.
我会说这没关系,但我认为最后的证据是尝试部署它。最简单的方法是将捆绑包放入Websphere部署中。你需要你的捆绑包以及你正在使用的任何弹簧束。
#3
0
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, ...).
我也对这个话题感兴趣。查看此问题的另一种方法是,您希望在Spring dm服务器和传统应用服务器(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.
OSGi容器可嵌入非OSGi应用程序中,因此理论上可以将应用程序部署到Spring dm服务器和相同的app + OSGi容器到传统的应用程序服务器。
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.
现在,像往常一样,细节中的魔鬼,包括外部应用服务器和OSGi容器之间的Web开发和桥接servlet等主题。
#4
0
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
请参阅以下链接: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
但另一方面,趋势很明显......有一段时间可以在Java EE应用服务器上部署基于OSGI的应用程序