Apache Karaf 与 Servicemix [英] Apache Karaf vs. Servicemix

查看:36
本文介绍了Apache Karaf 与 Servicemix的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人使用 Karaf 而不是 Servicemix?如果是这样,你是如何做出这个决定的?我知道 Servicemix 在 Karaf 周围添加了一层功能,只是很好奇是否单独使用 Karaf 以及为什么...

Is anyone using Karaf instead of Servicemix? If so, how did you come to this decision? I'm aware that Servicemix adds a layer of functionality around Karaf, just curious if Karaf is being used on its own and why...

推荐答案

我们将 Karaf 用于我们的许多应用程序.我们已经在使用 Camel(JMS 和 Esper)在几个不同的平台(一个 JBoss 4.2 实例、一个 Tomcat 和几个 Felix 实例)之间进行集成,并且由于它运行良好,因此也没有理由迁移它(这会导致考虑 ServiceMix).

We're using Karaf for a number of our applications. We were already using Camel (JMS and Esper) for integration between several different platforms (a JBoss 4.2 instance, a Tomcat and several Felix instances) and as this was working well there was little justification in migrating this too (which would have been cause to consider ServiceMix).

我们有一些 Felix 节点的唯一原因是它们的使用有限(在客户端桌面上),很少需要/得到更新,我希望这些节点的占用空间最小.对于服务器端的任何 OSGi,我们都使用 Karaf.

The only reason we have some Felix nodes, is that they're limited in use (on client desktops), rarely need/get updated and I wanted the smallest footprint for these nodes. For anything OSGi on the serverside we're using Karaf.

Karaf 提供了生产环境所需的所有功能(请参阅 apache-karaf 标签信息).我们根据标准的最小框架(使用 pax-exam)进行开发和测试,但部署到 Karaf.

Karaf provides all of the features you'd expect and need for a production environment (see the apache-karaf tag's info). We do our development and testing against standard minimal framework (using pax-exam) but deploy to Karaf.

如果您不需要 ESB、JCA、BPEL 等,但想要一个可靠的、可调整的 OSGi 容器,那么 Karaf 本身就足够了.(如果您发现自己需要 ServiceMix 功能的有限子集,您可以随时将这些安装在 Karaf 实例中).

If you don't need an ESB, JCA, BPEL, etc but want a solid, tunable OSGi container, then Karaf on it's own is more than adequate. (And if you found yourself needing a limited subset of ServiceMix's functionality you can always install these in a Karaf instance).

您还可以自定义 Karaf 发行版 作为 maven 构建的一部分 - 我个人喜欢将容器作为应用程序构建的一部分,因为我可以在最短的时间内从命令行检出、构建和运行整个设置.

You can also customise the Karaf distribution as part of a maven build - personally I like have the container as part of the application's build, as I can checkout, build and run the entire setup from the command line in minimal time.

最近有一个名为 Cellar 的 Karaf 集群子项目,使用 HazelCast,我不确定这是否也适用于 ServiceMix.

Recently there's a clustering subproject of Karaf called Cellar using HazelCast, I not sure if this applies to ServiceMix too.

这篇关于Apache Karaf 与 Servicemix的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆