将桌面应用程序分离为客户端-服务器应用程序
我有一个多层桌面应用程序,具有良好分离的模块化设计。到目前为止,它一直在单台 PC 上运行,但现在范围已修改为在本地网络上创建一个具有服务器和多个客户端的分布式系统。
客户端通过订阅各种渠道请求历史数据以及实时数据更新。
服务器从数据库读取历史数据,从PLC读取实时数据并发送给客户端。如果客户端执行任何数据修改,服务器必须将任何更改通知所有连接的客户端。
我研究了 WCF 以及这篇文章: http://www.codeproject.com/ KB/IP/TCPServClntCommRMIFrmwrk.aspx
有人对如何完成此任务有任何其他建议吗?
I have a multi-tiered desktop application with a well separated modular design. So far it has been working on a single PC, but now the scope was revised to create a distributed system with a server and multiple clients on a local network.
The Client requests historical data as well as real-time data updates by subscribing to various channels.
The Server read the historical data from the database and real-time data from the PLC and sends it to a client. If a client performs any data modifications, the server must notify all the connected clients of any changes.
I have looked into WCF as well as this article: http://www.codeproject.com/KB/IP/TCPServClntCommRMIFrmwrk.aspx
Does anybody have any other recommendations on how to approach this task?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在描述一个典型的客户端-服务器模型,其中 P发布-订阅范式。查看文章以更深入地了解如何解决类似的架构问题。
You are describing a typical Client-Server Model with Publish-Subscribe Paradigm. Look at the articles to get more insight to how similar architectural problems are approached.