数据从.net后端推送到flex应用程序
我即将进入一个大型应用程序(client-flex、server-.net)。 服务器端需要将数据推送到客户端,而无需客户端请求,该数据可以是数据库中的表,也可以是应用程序需要考虑的两个整数。
我尝试考虑使用 WebOrb.net 来完成这项工作,但文档非常差,而且根本不存在支持(想购买企业许可证)。
我正在寻找一种服务器端解决方案,可以使用 AMF 将数据从 .net 应用程序和 sql 服务器推送到 Flex 客户端,它在流量和数据量方面应该非常高效。
连接不得被防火墙阻止,因为应用程序应尽可能可供任何地方的每个客户端访问。
有什么好的解决办法吗? 火焰DS? - 它可以与.net一起使用吗?稳定的? 生命周期?它可以与.net一起使用吗?稳定的? WebORb.net?有人对该服务器有不同的印象并且比我有更好的体验吗?
我会喜欢你的答案。
非常感谢, 阿维
I'm about to go into a large scale application (client-flex, server-.net).
The server side is required to push data to the clients without them asking for it, this data can be tables from the DB or simply 2 integers the application needs to consider.
I tried to consider WebOrb.net for the job but the documentation is very poor and the support simply does not exist (wanted to buy the enterprise license).
I'm looking for a server side solution that can push data from .net application and sql server to flex clients using AMF, it should be very efficient with traffic and data volume.
The connection must not be one that is blocked by firewalls because the application should be accessible as possible to every client everywhere.
Any decent solution?
BlazeDS? - can it work with .net? stable?
LifeCycle? Can it work with .net? stable?
WebORb.net? anyone has another impression of that server and has better experience than I had with them?
I would love your answers.
Thank you very much,
Avi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您应该检查 http://www.florinefx.com/ 它是开源的,并且与 weborb 一样好。他们都有邮件列表和大量安装示例(以及如何将数据推送到客户端)。如果您使用 .net,我会推荐 FluorineFx,因为它是免费的。 WebOrb是免费使用的,但在生产环境中,你只能连接5个ip。 (还有一个社区版本,但我不知道你是否可以在生产中使用它)。
他们还支持MSMQ!
在此示例中,您可以了解如何将数据推送到 Flex。 FluorineFx 也是如此。
You should check http://www.fluorinefx.com/ It's open source and as good as weborb. They both have mailing lists and with the installation lots of examples (also how to push data to a client). If you're working with .net, I would recommend FluorineFx, as it is free. WebOrb is free to use, but in production environment, you can only have 5 ip's connected. (there's also a community edition, but I don't know if you can use that in production).
They also support MSMQ!
In this example you can see how to push data to flex. With FluorineFx it's the same.
这可能是一种完全疯狂的方法,但我之前在 Flex 应用程序中实现了 Spark 聊天应用程序。 Spark聊天ID已链接到Flex应用程序中的用户ID,因此我可以向Spark客户端发送消息,然后根据消息更新Flex应用程序或启动请求
this might be a totally mad approach but i previously implemented a spark chat app into a flex app. The spark chat id was linked to the user id in the flex app and thus i could send the spark client a message and then depending on the message update the flex app or start a request
我所知道的最简单的方法就是不断地长时间监听(长轮询)。 AMF.NET 可以为您提供所需的 .NET 支持。我认为LiveCycle已经支持其他类型的数据推送,但BlazeDS只能支持长轮询。
The easiest way I know of doing this is just to constantly listen with long timeouts (Long polling). There is AMF.NET to give you the .NET support you need. I think LiveCycle has support for other types of data push, but BlazeDS can only support long polling.