[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: "Michael Kay" <mike@s...>
  • Date: Fri, 5 Dec 2008 18:56:22 +0530

Hi Mike,

On Fri, Dec 5, 2008 at 3:03 PM, Michael Kay <mike@s...> wrote:
> And I'm talking about writing applications that use XML end-to-end; to do
> that, I need to see a description of the application in terms of its user
> input and user output. Of course converting the results to Java or C will
> add cost and overhead, which is why I advise against doing it.

I don't disagree with your thoughts on the value of end-to-end XML applications.

But I think, XML data binding frameworks are useful sometimes.

Please consider following example.

Say I have an object oriented application, where objects represent
concepts like bank, customers, accounts, transactions etc [1].

I get some XML data from somewhere, which contains information about
these entities [1]. I now need to populate my objects with this XML
data.

How do I do this?

One option is, that I can parse XML using DOM or SAX and fill the
objects with data by hand.
But this could be difficult if XML is complex.

I think data binding is a good technique for this scenario.


-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member