为什么Java EE可扩展? [英] Why is Java EE scalable?

查看:143
本文介绍了为什么Java EE可扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从各种渠道获悉Java EE具有高度可扩展性,但对我来说,似乎永远无法将Java EE应用程序扩展到谷歌搜索引擎或任何其他大型网站的水平。



我想听听它为什么如此可扩展的技术原因。

解决方案

Java EE被认为是可扩展的,因为如果您考虑EJB体系结构并在适当的应用程序服务器上运行,它将包括透明地集群并允许使用EJB的多个实例来提供请求的工具。



如果您在普通的java中手动管理事物,您必须自己弄清楚所有这些,例如打开端口,同步状态等。 / p>

我不确定您是否可以将Google定义为大型网站。这就像将互联网比作办公室局域网一样。 Java EE并不意味着扩展到全球级别,这就是亚马逊和谷歌等网站使用自己的技术(例如,使用MapReduce)的原因。



许多论文讨论了Java EE可伸缩性的效率。
例如


I heard from various sources that Java EE is highly scalable, but to me it seems that you could never scale a Java EE application to the level of the google search engine or any other large website.

I would like to hear the technical reasons why it is so scalable.

解决方案

Java EE is considered scalable because if you consider the EJB architecture and run on an appropriate application server, it includes facilities to transparently cluster and allow the use of multiple instances of the EJB to serve requests.

If you managed things manually in plain-old-java, you would have to figure out all of this yourself, for example by opening ports, synchronizing states, etc.

I am not sure you could define Google as a "large website". That would be like likening the internet to your office LAN. Java EE was not meant to scale to the global level, which is why sites like Amazon and Google use their own technologies (e.g., with use of MapReduce).

There are many papers discussing the efficiency of Java EE scalability. For example this

这篇关于为什么Java EE可扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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