Jboss或Tomcat [英] Jboss or Tomcat

查看:342
本文介绍了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?

先谢谢,
Rakhesh

Thanks in Advance, Rakhesh

推荐答案

主要区别在于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 vs. Spring vs. 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天全站免登陆