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?