简体   繁体   English

如何在Google云端上运行Java Rich Internet Application?

[英]Where do I run a Java Rich Internet Application on google cloud?

So, I have a script that I am fairly sure is an RIA, but I'm not 100% sure. 因此,我有一个脚本,我可以肯定它是一个RIA,但我不是100%确信。

Here is the file structure: 这是文件结构:

bin
conf
jvm
lib
logs
resources
xml
digest.txt
getdown.txt
theimporter.jar
proxy.txt
release_notes.txt
version.txt

In the conf folder, there is theimporter.client.properties, theimporter.properties, log.properties, and log4j.properties file 在conf文件夹中,有importer.client.properties,importer.properties,log.properties和log4j.properties文件。

Anyways, in the bin folder, there is a run.sh file. 无论如何,在bin文件夹中,有一个run.sh文件。 All I want to do is execute run.sh on a cron. 我要做的就是在cron上执行run.sh。

What would I use in the google cloud to run this script? 我将在Google云中使用什么来运行此脚本?

I know I can make it work on compute engine, however I am wondering if there is a better solution. 我知道我可以使其在计算引擎上运行,但是我想知道是否有更好的解决方案。

Should I use App Engine? 我应该使用App Engine吗? If so, how exactly would I structure it inside of the App Engine? 如果是这样,我将如何在App Engine内部准确构造它?

If I should use Compute Engine, what would be the bare minimum on need on this server? 如果我应该使用Compute Engine,那么此服务器上所需的最低限度是多少? Would I just need to install Linux and run the .sh on a cron from there? 我是否只需要安装Linux并从那里在cron上运行.sh?

Cloud computer seems almost unnecessary, because this would require me to keep linux up to date, etc. I was leaning toward App Engine, but I am sort of baffled as to how to implement this, and if App Engine would even support this. 云计算机似乎几乎没有必要,因为这将需要我保持linux的最新状态,等等。我倾向于App Engine,但是对于如何实现此功能以及App Engine是否甚至支持此功能,我有些困惑。

Compute Engine is probably your best bet here. Compute Engine可能是您最好的选择。 You might start with the smallest instance possible at first ( f1-micro ) while you test out your app. 在测试应用程序时,可能首先要以最小的实例( f1-micro )开始。

App Engine, at least the standard environment, very likely won't work for you without writing new code. 如果不编写新代码,则App Engine(至少是标准环境)很可能对您不起作用。 The flexible environment might work, but I think until you've tested your app and know how to run it, Compute Engine is likely your best starting point. 灵活的环境可能会起作用,但是我认为在您测试应用程序并知道如何运行它之前,Compute Engine可能是您最好的起点。

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

相关问题 如何通过Google Cloud Storage对Java应用程序进行身份验证? - How do I authenticate my Java application with Google Cloud Storage? 如何在云上使用tomcat 8运行java应用程序(war文件)? 在哪里? - How to run java application(war file) using tomcat 8 on cloud? & Where? 我可以在互联网上运行我的Java程序吗? - Is there some place on the internet where I can run my Java program? 如何在 Google Cloud Platform 上的 Shell 中运行 Headless Chrome - How do I run Headless Chrome in a Shell on Google Cloud Platform 从Java 7u45开始,Java“ Rich Internet Application”不允许哪些权限? - Which Permissions are not allowed for a java “Rich Internet Application” since java 7u45? 如何在Java中使用Google Cloud端点引发自定义异常? - How do I raise a custom exception with google cloud endpoints in Java? 如何从 Cloud Run Java 应用程序连接到 Cloud SQL 数据库? - How can I connect from Cloud Run Java application to a Cloud SQL database? Google Cloud Datastore Java库中的allocateIds在哪里? - Where is allocateIds in the Google Cloud Datastore java library? 如何使它作为Java小程序而不是Java应用程序运行? - How do I make this run as a Java applet instead of a Java application? 如何在 Google Cloud VM 上运行 Java 文件? - How to run Java file on Google Cloud VM?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM