Websphere 是用 Java 编写的吗?在JVM中运行这么快吗?

发布于 2024-09-15 22:50:17 字数 184 浏览 7 评论 0原文

据我所知,许多 Java EE 应用服务器都是用 Java 编写的。 (JBoss、Tomcat...)

Websphere 也是用 Java 编写的吗?

我发现Websphere的性能非常高,我猜Websphere是用C++编写的。我无法想象“重型”服务器能够在 JVM 中运行得这么快。

这是真的吗?

As I know many Java EE application servers are written in Java. (JBoss, Tomcat...)

Is Websphere also written in Java?

I found that Websphere's performance is dramatic high, I guess that Websphere is written in C++. I couldn't imagine that the 'heavy' server is able to run so fast in JVM.

Is it true?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不打扰别人 2024-09-22 22:50:17

是的,WebSphere 是用 Java 编写的。通常,应用程序服务器过去具有用 C/C++ 编写的高性能组件(例如 HTTP 侦听器),并针对各种受支持的平台进行编译。如今,采用这种方法的应用程序服务器越来越少,并且几乎总是完全用 Java 编写(我不确定 WebSphere 是否确实如此,但大多数肯定是用 Java 编写的)。

至于WebSphere性能相对较好的表现,大部分可以归功于IBM J9 JVM的性能,它与Sun派生的JVM相比,更面向服务器端应用(至少有些人是这样认为的)。人们声称,尽管我没有注意到巨大的差异)。

Yes, WebSphere is written in Java. Typically application servers used to have components orineted towards high performance (like the HTTP listeners) written in C/C++, and compiled against the various supported platforms. Nowadays, fewer application servers employ this approach and are almost always written entirely in Java (I'm not sure whether this is truly the case with WebSphere, but most of it is surely written in Java).

As for the performance of relatively better performance of WebSphere, most of it can be attributed to the performance of the IBM J9 JVM, which in contrast to the JVMs derived from Sun, is more oriented towards the server-side applications (atleast thats what some people claim, although I havent noticed a huge amount of difference).

苍暮颜 2024-09-22 22:50:17

它是用 Java 编写的,因此可以跨多种平台移植,包括大型机以及 Unix 和 Windows。

本机代码与采用 JIT 等技术的现代 JVM 之间的差距非常小。

It's written in Java and in consequence portable across a wide variety of platforms including mainframes as well as Unixes and Windows.

The gap between native code and modern JVMs with JIT etc is quite small.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文