Websphere 是用 Java 编写的吗?在JVM中运行这么快吗?
据我所知,许多 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,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).
它是用 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.