简体   繁体   English

Google App Engine上的Java应用程序?

[英]Java application on Google App Engine?

So it's possible to deploy java web applications to Google App Engine (GAE) but how could I host a standard java app on GAE? 因此可以将Java Web应用程序部署到Google App Engine (GAE)但是如何在GAE上托管标准Java应用程序呢? I've written an application for my company that have to be running 24/7, the application basically monitors the inbox of a specific email and does the required handling. 我为我的公司编写了一个必须运行24/7的应用程序,该应用程序基本上监视特定电子邮件的收件箱并进行所需的处理。

Is it possible to port such an app to a web application that can be deployed on GAE? 是否可以将这样的应用程序移植到可以在GAE上部署的Web应用程序? Or is GAE only designed for RESTful apps? 还是GAE仅针对RESTful应用程序设计?

If this is not possible through GAE, should we give Google Compute Engine a look? 如果通过GAE无法做到这一点,我们应该看看Google Compute Engine吗?

It's possible to port this app to GAE, but you'll need to do some additional work - such as setting up a scheduled task using Cron so that the logic of your application would be executed regularly. 可以将该应用程序移植到GAE,但是您需要做一些额外的工作-例如使用Cron设置计划任务,以便可以定期执行应用程序的逻辑。

With Google Compute Engine, it's likely that you'll be able to simply run the application without many modifications, but you'll likely spend more effort on setting up and maintaining the GCE VM on which your application runs. 使用Google Compute Engine,您可能可以简单地运行应用程序而无需进行很多修改,但是您可能会花费更多的精力来设置和维护运行应用程序的GCE VM。

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

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