简体   繁体   English

用于开发iPhone推送通知服务的Google App Engine的Java替代品是什么?

[英]What's a Java alternative to Google App Engine for developing iPhone Push Notification services?

I'm a Java programmer who is working on an iPhone application. 我是一名正在开发iPhone应用程序的Java程序员。 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. 我原本以为我可以使用Google App Engine向Apple提供有效负载,但我现在看到它是不可能的,因为App Engine不支持与Apple通信所需的低级套接字编程。

Are there any alternatives to Google App Engine that let me use Java? 是否有任何替代Google App Engine让我使用Java?

In brief, I'm wondering if there is a free hosting platform that supports Java and Socket Programming 简而言之,我想知道是否有一个支持Java和Socket编程的免费托管平台

UPDATE - since writing this question I've written an app that uses Urban Airship to act as a middleman between GAE and APNS. 更新 - 自写这个问题以来,我写了一个应用程序,使用Urban Airship充当GAE和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. 这有一个应用引擎问题 - http://code.google.com/p/googleappengine/issues/detail?id=1164如果你想关注,但我个人认为这不是真的GAE应该做的事情。 Just use Urban Airship. 只需使用Urban Airship。

Urban Airship provide RESTful web services for sending iPhone push notifications. Urban Airship提供RESTful Web服务,用于发送iPhone推送通知。 This cookbook example shows how to use it from GAE using Python; 这本食谱示例演示了如何使用Python从GAE中使用它; I assume this can be done in Java also. 我认为这也可以用Java完成。

Though as yet it's vaporware, keep an eye on App Notify as well. 虽然它还是蒸发器,但也要注意App Notify 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. Urban Airship看起来很酷,但是在脑子里做数学计算,我最终每月花几百美元买一个应用程序,我很难以超过0.99美元的价格出售。

Like Justin said (thanks random evangelist), AppNotify is launching nearer to the end of this month. 就像Justin所说(感谢随机传播者), AppNotify将在本月底推出。 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. 定价将比Urban Airship更好,并且具有更好的界面。

If you want something in particular or more info, send me an email personally at adam.m@selectstartstudios.com 如果您想要特别或更多信息,请发送电子邮件至adam.m@selectstartstudios.com

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 祝好运

You can do it yourself with an Amazon EC2 cluster. 您可以使用Amazon EC2群集自行完成 They have a nice Eclipse plugin for easily spawning Tomcat instances and remote debugging Java applications. 他们有一个很好的Eclipse插件,可以轻松生成Tomcat实例和远程调试Java应用程序。

You can also check and follow these guys. 你也可以检查并关注这些人。 It seems they are working on different stuff onto APNS integration. 看起来他们正在研究APNS集成的不同内容。 check out ns4app 看看ns4app

Edit : They are changed their names and products ? 编辑:他们改名了吗? forget my previous link. 忘记我之前的链接。 Check out MonoPush Project 查看MonoPush项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM