开发者

.net to Java - will serialized XML work?

Our group is primarily Java developers with a few .NET folks like me.

We have a new app that we're considering and are thinking of using .NET on the front-end and Java for the app server.

What is 开发者_JS百科the best way to communicate? Soap can be slow. I don't think that Serialized XML will work. I seem to recall that it is proprietary for .NET. Or will it work?


The XML serialization is just that - XML. I can't immediately think of why there should be any issues with this idea, as long as both the .NET and Java setups are working against the same schema and objects. XML is an open format.

I think binary serialization is proprietary to .NET, and is not exchangeable with other platforms.


Protocol Buffers or Hessian can provide multi-platform alternatives to SOAP. You can find some details concerning protocol buffers for .Net here.


You can use JSON as format for communication. Its structured, less complicated, and lightweight.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜