GAE消息传递服务 [英] GAE messaging service

查看:142
本文介绍了GAE消息传递服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我希望我的公司服务器与Google App Engine进行通信,反之亦然。我知道GAE不支持JMS,RMI等。这种通信的最佳选择是什么?使用任务队列? (我认为HTTP get()不适用于这种通信)。



我的公司服务器和GAE应用程序使用Spring框架。

解决方案

XMPP是一个功能强大且灵活的消息传递协议,本文显示了如何在Java和Python中执行GAE的一面。对于GAE以外的XMPP实现(Java和其他),请参阅这个SO问题

为了从GAE访问企业防火墙后面的大量安全数据,Google建议实施安全数据连接器(我专门指向带GAE的SDC Java教程的URL)。

Let's say I want my corporate server to communicate with Google App Engine and vice versa. I know that GAE does not support JMS,RMI etc. What is the best alternative for this kind of communication? Use task queue? (I think HTTP get() is not suitable for this kind of communication).

Both my corporate server and GAE application use Spring framework.

解决方案

XMPP is a powerful and flexible messaging protocol, and this article shows how to do the GAE side of it in both Java and Python. For XMPP implementations (in Java and others) outside of GAE, see this SO question.

For accessing from GAE a lot of bulky secure data that lives behind your corporate firewall, Google recommends implementing the Secure Data Connector (I'm pointing specifically to the URL of the Java tutorial for SDC with GAE).

这篇关于GAE消息传递服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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