How to use 'xxx.data.xml' ?

1 .The ‘Java Beans’ Demo in the path of ‘Getting Started / Feature Explorer / Data Integration / Java /’.
The JS code is shown following:

<isomorphic:loadDS ID="supplyItemDMI" />

isc.ListGrid.create({
	ID: "boundGrid",
	dataSource: "supplyItemDMI",
	width: "100%",
	height: 300
});

2 .supplyItemDMI reference to another file named supplyItemDMI.ds.xml.
The supplyItemDMI.ds.xml file content is shown following:

<DataSource
	ID="supplyItemDMI"
	serverType="generic"
	testFileName="supplyItem.data.xml" >
	<fields> ...

I want to know why every time to access data from the database, rather than directly from the supplyItem.data.xml to get data? And If I want to get data directly from supplyItem.data.xml, how to do?

Search the docs for “testFileName” to understand what that does.

If you are instead trying to talk to a service that is returning data in XML use dataFormat:“xml”, but read the client-side Data Integration overview first.