[英]Can we deploy a Java EE war file to Google App Engine without any changes?
Hi I have a jee application(war file) running on tomcat 7 and mysql 5.5. 嗨我有一个在tomcat 7和mysql 5.5上运行的jee应用程序(war文件)。 Can i run the same war file on google-App-Engine without any modifications? 我可以在google-App-Engine上运行相同的war文件而不做任何修改吗? If so how? 如果是这样的话?
No, you cannot. 你不能。 At minimum App Engine requires configuration file named appengine-web.xml. App Engine至少需要名为appengine-web.xml的配置文件。
In addition to the web.xml deployment descriptor, an App Engine Java application uses a configuration file, named appengine-web.xml, to specify the app's registered application ID and the version identifier of the latest code, and to identify which files in the app's WAR are static files (like images) and which are resource files used by the application. 除了web.xml部署描述符之外,App Engine Java应用程序还使用名为appengine-web.xml的配置文件来指定应用程序的注册应用程序ID和最新代码的版本标识符,并识别其中的哪些文件。 app的WAR是静态文件(如图像),它们是应用程序使用的资源文件。
Beside that it depends on your application requirements. 除此之外,它取决于您的应用要求。 App Engine offers two environments - sandboxed and Maneged VMs . App Engine提供两种环境 - 沙盒和Maneged VM 。 In case of sandboxed environment there are other restrictions you have to take into account: 如果是沙盒环境,您还必须考虑其他限制 :
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.