我是否需要一个单独的服务器来实现 ESB(例如 Apache Camel、Mule)?
我是否需要一个单独的服务器来实现 ESB(例如 Apache Camel、Mule)?
Do I need a separate server to implement an ESB (e.g. Apache Camel, Mule) ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Apache Camel 可以完成 ESB 所做的一切 - 但允许您通过将其嵌入到应用程序代码中来开始。它使用起来非常简单——因为它使用 DSL 来定义路由。如果稍后您想在托管容器中运行它 - 您有多种选择 - 将其嵌入到 Apache ServiceMix 或 Apache ActiveMQ 中运行 - 或独立运行 - 在 Apache Felix Karaf(OSGI 容器)之上。
Apache Camel does everything an ESB does - but allows you to start simply by embedding it in your application code. Its very simple to use - as it uses a DSL to define routes. If at a later point you want to run it in an managed container - you have a number of options - run it embedded in Apache ServiceMix, or Apache ActiveMQ - or standalone - on top of Apache Felix Karaf (OSGI Container).
Mule ESB 非常灵活且重量轻。它可以独立运行(建议部署),也可以将其嵌入到 java、web 或 Java EE 应用程序中。许多用户喜欢在 Apache Tomcat 或 MuleSoft Tcat 中将 Mule 应用程序作为 Web 应用程序运行。这完全取决于您的环境、IT 要求以及您选择的 SOA 架构。
如果您在 Mule 中托管服务,除了将其用作总线之外,那么独立通常是一个不错的选择。如果您将服务托管在应用程序服务器中,或者部署到已经部署了标准应用程序服务器并准备好操作程序的大型数据中心,那么将 Mule 嵌入到您的 Web 应用程序或 Java EE 容器中可能是更好的选择。
有关 Mule ESB 部署选项的更多信息,请访问 http://www.mulesoft.org
Mule ESB is flexible and very light weight. It can run stand alone (recommended deployment) or you may embed it in a java, web or Java EE application. Many users like to run Mule applications as web apps in Apache Tomcat or MuleSoft Tcat. It all depends on your environment, IT requirements and the SOA architecture you have chosen.
If you are hosting your services in Mule, in addition to using it as your bus, then standalone is usually a good choice. If you are hosting you services in an application server or are deploying to a large datacenter where you already have a standard application server deployed and operation procedures in place, embedding Mule in your web app or Java EE container may be a better choice.
There is more information on deployment options for Mule ESB at http://www.mulesoft.org
Apache Camel 不是 ESB,并且需要 ESB 才能运行。 Mule 是一个 ESB。
如果您询问除了应用程序服务器之外是否还需要另一台物理服务器来运行 ESB,答案是不需要。此外,大多数“企业”应用程序服务器都有自己的 ESB;比如JBossESB。
Apache Camel is not an ESB, and requires an ESB to run on. Mule is an ESB.
If you are asking if you need another physical server to run your ESB other than your app server, no. Also, most "enterprise" app servers have their own ESBs; such as JBossESB.