简体   繁体   English

Google App Engine与Tomcat

[英]Google App Engine vs Tomcat

I was able to create the basic 'hello world' program. 我能够创建基本的“ hello world”程序。

When I tried to understand the difference between a cloud and a server I learned that Cloud is where you have an access to virtual instance created exclusively for you and you are free to choose and install software of your choice.Why Google App Engine(GAE) is used widely where as tomcat is not used. 当我试图了解云与服务器之间的区别时,我了解到可以在Cloud上访问专门为您创建的虚拟实例,并且可以自由选择和安装自己选择的软件。为什么使用Google App Engine(GAE)在不使用tomcat的地方广泛使用。 What are major differences between GAE and Tomcat? GAE和Tomcat之间的主要区别是什么?

Cloud is Google Cloud Platform at this case. 在这种情况下, CloudGoogle Cloud Platform App Engine is just one of their services. App Engine只是他们的服务之一。

App Engine is a platform to build your apps on top of it. App Engine是一个平台,可在此平台上构建您的应用程序。 A Platform As A Service or PaaS . 平台 服务PaaS It simplifies the process of building a scalable application, and you should use it when you understand what you really need and understand principles of scalable application. 它简化了构建可伸缩应用程序的过程,当您了解真正需要并了解可伸缩应用程序的原理时,应使用它。

Tomcat is a Java web container, and there're many alternatives. Tomcat是Java Web容器,有许多替代方案。 Google App Engine is using Jetty. Google App Engine正在使用Jetty。 You could actually use it with Tomcat by using Flexible VM, though it doesn't make much sense. 您实际上可以通过使用Flexible VM将它与Tomcat一起使用,尽管它没有多大意义。

App Engine is not about web server, it's a set of services that helps you to build a scalable app. App Engine与Web服务器无关,它是一组服务,可帮助您构建可扩展的应用程序。 It includes Memcache, Datastore, Task Queue, Images API, deployments tools and versioning, CDN for static files, and most important automatic scale . 它包括Memcache,数据存储,任务队列,Images API,部署工具和版本控制,用于静态文件的CDN以及最重要的自动缩放

Actually you aren't limited to App Engine on Google Cloud Platform. 实际上,您不仅限于Google Cloud Platform上的App Engine。 There is more traditional service, like own server in the cloud, called Compute Engine . 还有更多传统服务,例如云中的自己的服务器,称为Compute Engine There you can run your Tomcat or anything else. 在那里,您可以运行Tomcat或其他任何程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM