Google应用引擎JRE类“黑名单” [英] Google app engine JRE Class "Black List"

查看:125
本文介绍了Google应用引擎JRE类“黑名单”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google的 JRE课程白名单 App Engine。



我真正喜欢的是一个黑名单 - 换句话说,Java API不适用于GAE。这样的清单是否存在?是否有任何开发人员遇到GAE上Java API的问题?

解决方案

似乎他们已经采取了更多的白名单方法: http://code.google.com/appengine/docs/java/jrewhitelist.html



这里还有更多关于沙盒的细节(它可以访问哪些文件等): http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox



这些限制看起来非常直观(如限制文件系统访问,没有JNI等)。

There is a "JRE Class White List" for the Google App Engine.

What I would really like is a "Black List" -- in other words, Java APIs that will not work on GAE. Does such a list exist? Have any developers run into problems with Java APIs on GAE?

解决方案

It seems that they've taken more of a white-list approach: http://code.google.com/appengine/docs/java/jrewhitelist.html.

There is also more detail about the sandbox (what files it can access and so on) here: http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox

The restrictions seem to be pretty intuitive (like restricted filesystem access, no JNI, etc).

这篇关于Google应用引擎JRE类“黑名单”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆