Jboss 或 Tomcat [英] Jboss or Tomcat

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

问题描述

我在我公司的一个基础架构团队(Jboss 4.02/Tomcat 5.5/Weblogic 8.1 服务器)工作......一些 weblogic java 应用程序正在迁移到 jboss/tomcat 服务器.那么我们需要什么标准考虑我们是否需要使用 jboss 或 tomcat?哪个是最好的选择?

I'm working in an infrastructure team(Jboss 4.02/Tomcat 5.5/Weblogic 8.1 servers)in my company...some of the weblogic java applications are moving to jboss/tomcat servers.So what are the criterias we need to consider whether we need to go for jboss or tomcat? which is the best option?

提前致谢,拉克什

推荐答案

主要区别当然是 JBoss 是一个应用服务器并支持完整的 Java EE堆栈,而 Tomcat 是一个servlet 引擎,仅支持 Java EE 中定义的一小部分 API.

The main difference is certainly the fact that JBoss is an application server and supports the full Java EE stack, while Tomcat is a servlet engine and supports only a small fraction of the APIs which are defined in Java EE.

因此,您的主要标准应该是:您需要哪些 API(前端、业务逻辑、持久性、第三方等)?

So, your main criteria should be: Which APIs (Frontend, Business Logic, Persistence, Third-Party, ...) do you need?

你不应该轻易做出这个决定.您提出这个问题的事实表明,您可能没有机会同时使用这两者并熟悉 Java Enterprise 堆栈背后的概念(Java EE 与 Spring 与 DIY).

You should not make this an easy decision. The fact that you are asking the question indicates that you probably did not have the chance to play around with both and familiarize yourself with the concepts behind Java Enterprise stacks (Java EE vs. Spring vs. DIY).

我的建议是花时间评估这两个系统 - 看起来您可以同时使用这两个系统.

My advice would be to take the time to evaluate both system - it looks like you are able to use both.

  • 如果您不需要太多,那么使用 Tomcat 可能会更好,它体积小且易于使用,但如果您需要高级功能,则配置起来可能是一场噩梦.
  • JBoss AS 带有完整且成熟的堆栈.一切都恰到好处且运行良好 - 您必须付出的代价是它方式更大,启动/停止/重新部署需要更长的时间.
  • If you don't need much, you're probably better off with Tomcat, which is small and easy to use, but can be a nightmare to configure if you need advanced functionality.
  • JBoss AS comes with a full and mature stack. Everything is just right in place and works fine - the price you'll have to pay is that it way bigger and will take longer to start / stop / redeploy.

但同样:这是一个严肃的决定,对几乎所有事情都有很大影响......

But again: That's a serious decision with a high impact on pretty much everything...

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

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