用于开发 iPhone 推送通知服务的 Google App Engine 的 Java 替代方案是什么?
我是一名 Java 程序员,正在开发 iPhone 应用程序。 我希望它使用推送通知服务。
我原本以为我可以使用 Google App Engine 向 Apple 提供有效负载,但现在我发现这是不可能的,因为 App Engine 不支持与 Apple 通信所需的低级套接字编程。
除了 Google App Engine 之外,还有其他替代方案可以让我使用 Java 吗?
简而言之,我想知道是否有一个支持 Java 和套接字编程
更新的免费托管平台 - 自从写这个问题以来,我编写了一个应用程序,它使用 Urban Airship 充当 GAE 和 APNS 之间的中间人。 它的作用只是膨胀。 此问题存在一个应用引擎问题 - http://code.google .com/p/googleappengine/issues/detail?id=1164(如果您想关注),但我个人认为这并不是 GAE 应该做的事情。 只需使用城市飞艇即可。
I'm a Java programmer who is working on an iPhone application. I'd like it to use Push Notification services.
I originally thought I could use Google App Engine to provide the payloads to Apple, but I see now that it won't be possible because App Engine doesn't support the low-level socket programming that is needed to communicate with Apple.
Are there any alternatives to Google App Engine that let me use Java?
In brief, I'm wondering if there is a free hosting platform that supports Java and Socket Programming
UPDATE - since writing this question I've written an app that uses Urban Airship to act as a middleman between GAE and APNS. It works just swell. There is an app engine issue on this - http://code.google.com/p/googleappengine/issues/detail?id=1164 if you'd like to follow, but personally I've decided that this isn't really something that GAE should be doing. Just use Urban Airship.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Urban Airship 提供用于发送 iPhone 推送通知的 RESTful Web 服务。 此食谱示例展示了如何使用 Python 从 GAE 中使用它; 我认为这也可以用 Java 来完成。
Urban Airship provide RESTful web services for sending iPhone push notifications. This cookbook example shows how to use it from GAE using Python; I assume this can be done in Java also.
尽管它目前还只是一个雾软件,但请同时关注 App Notify。 Urban Airship 看起来很酷,但在心里算了一下,我最终会每月向他们支付数百美元购买一款我很难以超过 0.99 美元的价格出售的应用程序。
Though as yet it's vaporware, keep an eye on App Notify as well. Urban Airship looks pretty cool, but doing the math in my head, I'd end up paying them hundreds of dollars a month for an app that I'd have a hard time selling for more than $0.99.
正如 Justin 所说(感谢随机布道者),AppNotify 将于本月底推出。 我们刚刚完成一些管理屏幕并进行一些最终测试。 定价将比城市飞艇更好,并且界面也更好。
如果您想要特定的内容或更多信息,请亲自向我发送电子邮件 [电子邮件受保护]
我们正在使用它来开发我们自己的产品,但如果我们错过了一个极端案例,我想知道它。
祝你好运
Like Justin said (thanks random evangelist), AppNotify is launching nearer to the end of this month. We're just finishing up a few admin screens and doing some final tests. The pricing will be better structured than Urban Airship, and with a much better interface.
If you want something in particular or more info, send me an email personally at [email protected]
We're using it to develop our own products, but if we've missed a corner case I'd like to know about it.
Good luck
您可以使用 Amazon EC2 集群自行完成此操作。 他们有一个很好的 Eclipse 插件,可以轻松生成 Tomcat 实例和远程调试 Java 应用程序。
You can do it yourself with an Amazon EC2 cluster. They have a nice Eclipse plugin for easily spawning Tomcat instances and remote debugging Java applications.
您还可以检查并关注这些人。 他们似乎正在致力于 APNS 集成的不同工作。 查看 ns4app
编辑:他们更改了名称和产品? 忘记我之前的链接。 查看 MonoPush 项目
You can also check and follow these guys. It seems they are working on different stuff onto APNS integration. check out ns4app
Edit : They are changed their names and products ? forget my previous link. Check out MonoPush Project