Xml questions

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I just wonder when is it appropriate to use Xml.
Can somebode give me some guide lines ?

Assume you have a database and a distributed application that is running on
a LAN network
I just want to know when there is a great advantage to use Xml insted of
other
kind of communication such as distributed object.

1. I know that it is used when webservices is communication.

//Tony
 
Hello!

I just wonder when is it appropriate to use Xml.
Can somebode give me some guide lines ?

When you have some structured data that you need to serialize (to
save, or to transfer to another application). Particularly when that
data has inherent tree structure.

Also, when you expect your output to be consumed by other parties.
There are many XML-based interoperability solutions that allow to
combine XML inputs and outputs of different components in a system
together with some XSLT/XPath glue.
Assume you have a database and a distributed application that is running on
a LAN network
I just want to know when there is a great advantage to use Xml insted of
other
kind of communication such as distributed object.

This just makes no sense. XML is not a way of communication - it's a
way of serializing data, which can then be communicated, but this is
not related to your question here. You absolutely can send XML via a
remote procedure call - indeed. .NET Remoting can work using SOAP as
an underlying protocol, which is XML-based.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top