Intra Application communication (Silverlight to Java)
I have a java desktop app and I have a silverlight client app running on a computer. 开发者_如何学编程 What are my best options for communicating between the two of them? Can the silverlight client app host a wcf so the desktop app can talk directly to it while bypassing the server?
Java and Silverlight both support TCP Sockets, so use them. Sockets in Silverlight And Java Sockets are good places to start.
You might also need Google Protocol Buffers + Java and protobuf-net for compatible serialization. Good luck!
精彩评论