Java Weblogic 还是 JBoss?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1305980/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Weblogic or JBoss?
提问by Avi Y
I am a long time Java developer on JBoss(and Tomcat). In the last year I had to develop over WebLogic and I have to say - I really miss JBoss.
我是 JBoss(和 Tomcat)的长期 Java 开发人员。去年我不得不通过 WebLogic 进行开发,我不得不说 - 我真的很想念 JBoss。
Since my experience with WebLogic is pretty shallow, I am asking the more experienced guys out there: Is there a reason for spending money on WebLogic? Isn't JBoss giving you all that you need?
由于我对 WebLogic 的经验非常浅薄,所以我问了那里更有经验的人:是否有理由在 WebLogic 上花钱?JBoss 不是为您提供所需的一切吗?
采纳答案by Nick Holt
I suspect the reason Weblogic gets chosen is a pleasant sales person comes to visit a manager with money to spend, gives him the sales pitch and hey-presto, the company is using Weblogic. I don't know if the JBoss support contract comes with a sales force, but would be surprised if it did and that the playing field has leveled in that respect.
我怀疑 Weblogic 被选中的原因是一个愉快的销售人员来拜访一位有钱的经理,给他推销,嘿嘿,公司正在使用 Weblogic。我不知道 JBoss 支持合同是否有销售队伍,但如果有,并且在这方面的竞争环境已经趋于平衡,我会感到惊讶。
In my experience, other than the pretty console you get with Weblogic (which isn't worth forking out the license fees for) there's not much between the 2. I suspect these days JBoss has market share (just guessing that), which in my book that translates into more help available online, etc when you're stuck on something.
根据我的经验,除了您使用 Weblogic 获得的漂亮控制台(不值得支付许可费)之外,两者之间没有太多。我怀疑这些天 JBoss 拥有市场份额(只是猜测),这在我看来当您遇到某些问题时,这本书可以转化为更多在线帮助。
It's also worth considering that the Weblogic licenses (last time I saw them) where the usual server-side terms - per-processor, per-box, etc. This will limit you in scalability terms because with JBoss you can keep adding hardware without occurring extra cost, while with Weblogic your licenses will need upgrading too.
还值得考虑的是,Weblogic 许可证(我上次看到它们时)通常使用服务器端条款 - 每处理器、每盒等。这将限制您在可扩展性方面,因为使用 JBoss,您可以继续添加硬件而不会发生额外费用,而使用 Weblogic 您的许可证也需要升级。
Whichever you choose you're going to be able to build your system on top of them without too much trouble, but my preference would be JBoss.
无论您选择哪一个,您都可以轻松地在它们之上构建您的系统,但我更喜欢 JBoss。
回答by Nick Holt
JBoss (Red Hat) has yet to release a commercially supported 100% Java EE 5-compliant container*. There is a beta of JBoss 5 out. Hopefully they won't be 3 years behind for Java EE 6. JBoss is more concerned with their microcontainer than Java EE x because that's what they say their customers are more interested in. I have never met any of those customers. But it does mean that Java EE is a second-class citizen in their world. As proof, their containers don't even ship in compliant mode; you have to tweak some config files to make it spec-compliant.
JBoss(红帽)尚未发布商业支持的 100% Java EE 5 兼容容器*。JBoss 5 有一个测试版。希望他们的 Java EE 6 不会落后 3 年。与 Java EE x 相比,JBoss 更关心他们的微容器,因为他们说他们的客户更感兴趣。我从未见过这些客户中的任何一个。但这确实意味着 Java EE 在他们的世界中是二等公民。作为证据,他们的集装箱甚至不以合规模式运输;您必须调整一些配置文件以使其符合规范。
If Sun wasn't about to be consumed by the blackhole that is Oracle, I would recommend Glassfish.
如果 Sun 不会被 Oracle 的黑洞吞噬,我会推荐 Glassfish。
- Red Hat does have a commercially supported 90% Java EE 5-compliant container. JBoss 4.3 is their "stepping stone" to Java EE 5 version.
- Red Hat 确实有一个商业支持的 90% Java EE 5 兼容容器。JBoss 4.3 是他们到 Java EE 5 版本的“垫脚石”。
回答by Shimi Bandiel
Well, i'd recommend using Spring+Tomcat and would introduce a full-blown JavaEE Application server only if i absolutely have to.
regarding Weblogic and JBoss, i'd prefer JBoss as Weblogic is more complex.
好吧,我建议使用 Spring+Tomcat,并且只有在我绝对需要时才会引入成熟的 JavaEE 应用程序服务器。
关于 Weblogic 和 JBoss,我更喜欢 JBoss,因为 Weblogic 更复杂。
回答by duffymo
I reallylike WebLogic. I'll suspend the licensing cost for the moment and just say that in their heyday they were the best Java EE app server on the market, hands down. BEA had a lot of extremely talented people developing their code, and it showed. If money was not part of the equation, and I had an employer that insisted on spending money that wasn't mine, I'd still choose WebLogic over WebSphere or JBOSS or Glassfish or anything else on the market.
我真的很喜欢 WebLogic。我暂时不考虑许可费用,只是说在他们的鼎盛时期,他们是市场上最好的 Java EE 应用程序服务器,毫无疑问。BEA 有很多非常有才华的人来开发他们的代码,这证明了这一点。如果钱不是等式的一部分,而且我的雇主坚持要花不属于我的钱,我仍然会选择 WebLogic 而不是 WebSphere、JBOSS、Glassfish 或市场上的任何其他产品。
I'm saddened by Oracle's purchase. I think that the talent has leaked away, and Oracle has no clear idea of what they want to do with WebLogic. They've been stuck on version 10.1 for a few years now.
我对 Oracle 的收购感到难过。我认为人才流失了,甲骨文不清楚他们想用 WebLogic 做什么。几年来,他们一直坚持使用 10.1 版。
<prejudice-ahead>
Glassfish sounds like it's a much better effort from Sun, but their history says they write great standards and lousy implementations. I don't consider Glassfish to be a viable alternative.
</prejudice-ahead>
WebSphere is a typical IBM project: twice the cost, half the functionality, poor documentation, and you have to buy all their nonsense (e.g., Eclipse based IDEs) to use it.
WebSphere 是一个典型的 IBM 项目:两倍的成本、一半的功能、糟糕的文档,并且您必须购买他们所有的废话(例如,基于 Eclipse 的 IDE)才能使用它。
JBOSS isn't bad, but only because the price difference is so strongly in its favor.
JBOSS 还不错,只是因为价格差异对它非常有利。
I'd rather recommend Spring, Tomcat and ActiveMQ as an excellent alternative. If EJBs are absolutely required, add OpenEJB to that mix.
我宁愿推荐 Spring、Tomcat 和 ActiveMQ 作为一个很好的选择。如果绝对需要 EJB,请将 OpenEJB 添加到该组合中。
2018 update: My affection for Java EE as a standard and its app server implementations has cooled in the last nine years. I think a better answer is to go with Spring Boot. Deploy an executable JAR on a JVM and never worry about a Java EE app server again.
2018 年更新:我对 Java EE 作为标准及其应用服务器实现的喜爱在过去九年中有所降温。我认为更好的答案是使用 Spring Boot。在 JVM 上部署可执行 JAR,再也不用担心 Java EE 应用服务器。
回答by mafro
Personally I would choose JBoss (community version) over Weblogic (Server) because it's free (you know, like in freedom). But that isn't answering the question, so...
我个人会选择 JBoss(社区版)而不是 Weblogic(服务器),因为它是免费的(你知道,就像在自由中一样)。但这并不能回答问题,所以...
I can see two main reasons for choosing Weblogic:
我可以看到选择Weblogic的两个主要原因:
- Weblogic is a well integrated product with a single configuration mechanism/file (easier* to configure and maintain).
- Integration with Tuxedo.
- Weblogic 是一个集成良好的产品,具有单一的配置机制/文件(更容易* 配置和维护)。
- 与 Tuxedo 集成。
*) The term easier is subjective. Most things are easy when you know how to do them.
*) 更容易这个词是主观的。当您知道如何去做时,大多数事情都很容易。
回答by OscarRyz
It depends.
这取决于。
Do you happen to be in a company who likes to buy support from other companies like "Oracle" and don't really care about the money spending as long they are covered by the manufacturer ( Yes, I know Redhat sells the support also but some companies don't like to buy from them )
您是否碰巧在一家喜欢从“甲骨文”等其他公司购买支持的公司,并且并不真正关心制造商涵盖的资金支出(是的,我知道 Redhat 也出售支持,但有些公司不喜欢从他们那里购买)
Anyway , this is a rather subjective question, I don't think there would be a correct answer.
无论如何,这是一个相当主观的问题,我认为不会有正确的答案。
回答by OscarRyz
I'm saddened by Oracle's purchase. I think that the talent has leaked away, and Oracle has no clear idea of what they want to do with WebLogic. They've been stuck on version 10.1 for a few years now.
我对 Oracle 的收购感到难过。我认为人才流失了,甲骨文不清楚他们想用 WebLogic 做什么。几年来,他们一直坚持使用 10.1 版。
There are a couple of problems with the above comment. First, Oracle only purchased BEA 1.5 years ago, and even then that wasn't a DOJ approved transaction. The final sale was not approved until something like 12 months ago.
上面的评论有几个问题。首先,甲骨文仅在 1.5 年前购买了 BEA,即便如此,那也不是 DOJ 批准的交易。最终的销售直到大约 12 个月前才获得批准。
Secondly, Oracle has made three releases of WebLogic since acquisition. They are now on version 10.3.1 (or "11g").
其次,Oracle 自收购以来已经发布了三个版本的 WebLogic。它们现在的版本是 10.3.1(或“11g”)。
Lastly, I think Oracle is - surprised to say that I am - moving in a clear direction. With the recent acquisition of Sun, Oracle is now the primary provider of Java technology and has what many consider to be the leading Java application server. They would not have invested in these companies and technologies without a clear plan to dominate the market. I think Oracle's recent movements in the Java EE 6, WebLogic, and JDeveloper spaces show that they are pushing extremely hard to become the Java leader.
最后,我认为甲骨文 - 惊讶地说我 - 朝着一个明确的方向前进。随着最近对 Sun 的收购,Oracle 现在成为 Java 技术的主要供应商,并拥有许多人认为是领先的 Java 应用服务器。如果没有明确的市场主导计划,他们就不会投资这些公司和技术。我认为 Oracle 最近在 Java EE 6、WebLogic 和 JDeveloper 领域的发展表明,他们正在极力推动成为 Java 领导者。
I'd still prefer JBoss; it's simple and just works. I'm having loads of problems converting a Seam 2.x app from JBoss to Weblogic, but I'm hopeful that I will be successful at some point.
我还是更喜欢 JBoss;这很简单,而且很有效。我在将 Seam 2.x 应用程序从 JBoss 转换为 Weblogic 时遇到了很多问题,但我希望我能在某个时候取得成功。
回答by user428985
IBM released their BETA version of Java EE 6 server. So in case of Java EE 6 I think IBM would be the leader. Also JBoss is a good server but under heavy loads my experience shows it's not fully reliable compared to WebLogic and WebSphere.
IBM 发布了 Java EE 6 服务器的 BETA 版本。因此,在 Java EE 6 的情况下,我认为 IBM 将是领导者。JBoss 也是一个很好的服务器,但在重负载下,我的经验表明,与 WebLogic 和 WebSphere 相比,它并不完全可靠。
回答by Anup
I had worked on jboss for a year and on weblogic for more than a year now, my experience with the web logic is good compared to jboss as weblogic is more stable and robust, it can handle more than 3000 concurrent requests without throwing a single exception where jboss failed to do so and admin console for the weblogic is excellent, but I think weblogic is more complex then jboss. As far as client is investing money on application server, my choice will be weblogic for sure.
我在 jboss 上工作了一年,现在在 weblogic 上工作了一年多,与 jboss 相比,我在 web 逻辑方面的经验很好,因为 weblogic 更稳定和健壮,它可以处理 3000 多个并发请求而不会抛出一个异常jboss 没有这样做,weblogic 的管理控制台非常好,但我认为 weblogic 比 jboss 更复杂。就客户在应用服务器上投资而言,我的选择肯定是 weblogic。
回答by user831745
I developed Java based application for JBoss 4.x and 5.x for two years. After that i had to work with Weblogic 11. It wasn't easy to change my mind but now i think, WL much better. More stable, faster and the Admin Console...like a dream..very easy to do settings and monitoring.
我为 JBoss 4.x 和 5.x 开发了基于 Java 的应用程序两年。在那之后,我不得不使用 Weblogic 11。改变主意并不容易,但现在我认为,WL 好多了。更稳定、更快和管理控制台......就像一个梦想......很容易进行设置和监控。
So, my choice is Weblogic.
所以,我的选择是Weblogic。