简体   繁体   English

您可以将Java EE框架与Google App Engine一起使用吗?

[英]Can you use Java EE frameworks with the Google App Engine?

I have been working on a small web app using the Stripes framework. 我一直在使用Stripes框架开发一个小型Web应用程序。 Now that the Google App Engine has added support for Java, I am wondering if I can convert it to run in the Google App Engine to save costs on hosting. 既然Google App Engine已经添加了对Java的支持,我想知道我是否可以将其转换为在Google App Engine中运行以节省托管成本。

Yes, it supports servlets, so it should support Stripes just fine. 是的,它支持servlet,所以它应该支持Stripes就好了。

According to the App Engine documentation , 根据App Engine 文档

App Engine uses the Java Servlet standard for web applications. App Engine将Java Servlet标准用于Web应用程序。 You provide your app's servlet classes, JavaServer Pages (JSPs), static files and data files, along with the deployment descriptor (the web.xml file) and other configuration files, in a standard WAR directory structure. 您可以在标准WAR目录结构中提供应用程序的servlet类,JavaServer Pages(JSP),静态文件和数据文件,以及部署描述符(web.xml文件)和其他配置文件。 App Engine serves requests by invoking servlets according to the deployment descriptor. App Engine根据部署描述符调用servlet来处理请求。

There seems to be a little snag (and workaround) because of the missing access to a local temporary directory. 由于缺少对本地临时目录的访问,似乎有一点障碍(和解决方法) You need to provide your own file upload facility (or disable the feature). 您需要提供自己的文件上载工具(或禁用该功能)。

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

相关问题 Google App Engine,Java框架? - Google App Engine, Java Frameworks? Java App for Java和Java EE之间的核心区别是什么? - What is core difference between Java for Google App Engine and Java EE? 您将使用哪些Java框架与Google App Engine合作? - What Java framework would you use with Google App Engine? 我们可以将Java EE war文件部署到Google App Engine而不进行任何更改吗? - Can we deploy a Java EE war file to Google App Engine without any changes? 对于 Google App Engine,我需要 Java EE 吗? - For Google App Engine, do I need Java EE? 不能再使用Google App Engine(Java)中的JSONObject了吗? - Can't use JSONObject in Google App Engine (Java) anymore? 在Java版本的Google App Engine中,您如何评估和执行以字符串形式传入的Java代码和单元测试? - In the Java version of Google App Engine, how can you eval and execute Java code and unit tests passed in as strings? 是否有与Google App Engine等效的功能,可让您将SOAP与Java一起使用,并且是免费的,还是具有GAE支持的SOAP库? - Is there a Google App Engine equivalent that lets you use SOAP with Java and is free or a GAE supported SOAP library? 如何在Java中使用Google App Engine数据存储区中的列表属性? - How do you use list properties in Google App Engine datastore in Java? 如何在Google App引擎(Java)中使用IMAP - How to use IMAP in Google App engine (Java)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM