.net for Java - will XML serialized work?

Our group is primarily Java developers with several .NET people, such as myself.

We have a new application that we review and think about using .NET on the interface and Java for the application server.

What is the best way to communicate? Soap can be slow. I don't think Serialized XML will work. I seem to remember that it is the property of .NET. Or will it work?

+4
source share
3 answers

XML serialization is just XML. I can’t immediately think why there should be any problems with this idea if both .NET and Java installations work against the same scheme and objects. XML is an open format.

I think binary serialization is the property of .NET and cannot be replaced by other platforms.

+5
source

Protocol buffers or Hessian can provide multi-platform SOAP alternatives. You can find some protocol buffer information for .Net here .

+2
source

You can use JSON as a format for communication. Its structured, less complex and light.

+1
source

Source: https://habr.com/ru/post/1300640/


All Articles