Hello Nikhil,
This tag is used in ofbiz-component.xml file which inturn is used to
load the specified services, entities etc. at the time the components
are loaded. Including this tag in our ofbiz-component.xml file ensures
that entity with reader name "demo". and loader name "main " is loaded
at the time the server starts. For details you can go through
entity-engine.xml file, it will surely help you.
Deepesh
Nikhil agrawal wrote:
Hi,
Can anyone tell me what is the meaning of reader-name & loader here and
what exactly will happen using tag like this:
<entity-resource type="data" reader-name="demo" loader="main"
location="data/DemoBlogEntryData.xml"/>