是否有 Apache Shinding(Java 版本)的端口可以在 Google App Engine 上运行?
我一直在网上搜索 Google App Engine 的 Apache Shindig Java 端口,但只找到了 Python 版本。有 Java 端口吗?或者是否存在阻塞依赖性,使得将 Apache Shindig 移植到 Google App Engine 变得非常困难(除了数据库部分)?
I've been searching the web for a Apache Shindig Java port to Google App Engine, but I only found a Python version. Is there a Java port? or are there blocking dependencies that make it very hard to port Apache Shindig to Google App Engine (besides the database part)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,目前 Apache Shindig 没有 GAE Java 端口。但是,您确实有选择:
请阅读以下内容以了解更多详细信息:
使用 Jython 将 Python-GAE 移植到 java-GAE:
使用 Jython 抽象的主要优点如下:
顺便说一句,我有一个在 Java SDK 上运行的 JQuery Form Builder 插件版本:
Jython 是一个类似的抽象,可以以类似的方式提供帮助,并避免重写大部分代码。请阅读以下有关 Google App Engine 上的 Jython 开发的更多信息:
Google App Engine 上的 Jython 开发
避免尝试从 Java 移植 - non-GAE 到 Java-GAE
Java 版本的 OpenSocial 应用程序是多线程的,因此在 App Engine 上运行时会遇到很多麻烦。而且,将 PHP 版本移植到 Java 肯定更容易,因为 App Engine 目前不支持多线程,而 PHP 版本很可能不是多线程的。
因此,这就是为什么 Python OpenSocial 端口的根源属于 Shindig/OpenSocial 的 PHP 版本,而不是 Java 端口。如果您决定从非 GAE 版本移植,我建议您遵循他们的指导并做同样的事情。
Unfortunately, there is currently no GAE Java port of Apache Shindig. However, you do have options:
Read below for more details:
Use Jython to port Python-GAE to java-GAE:
The main advantages of using the Jython abstraction are as follows:
On a side note, I have a version of the JQuery Form Builder Plugin running on the Java SDK:
Jython is a similar abstraction that may help in a similar manner and avoid the need to rewrite most of the code. Read more below about Jython development on Google App Engine:
Jython Development on Google App Engine
Avoid trying to port from Java-non-GAE to Java-GAE
The Java version of the OpenSocial application is multithreaded, so it will have a lot of trouble running on App Engine. Moreover, it's definitely easier to port the PHP version to Java, as App Engine doesn't support multi-threading at this time, and the PHP version is most likely not multi-threaded.
As a result, this is why the Python OpenSocial port's roots belong to the PHP version of Shindig/OpenSocial and not the Java port. I suggest following their lead and doing the same, if you do decide to port from the non-GAE version.
Appengine 上似乎没有专门运行 Java 的项目。但是,应该可以将当前的 java 版本移植到 Appengine,因为有一个 python 版本具有相同的限制。
There doesn't seem to be a project which specifically runs on Java on the Appengine. However it should be possible to port the current java version to Appengine as there is a python version which has the same limitations.