The meaning of reader-name

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

The meaning of reader-name

Nikhil agrawal
 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"/>
Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Deepesh Kapoor
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"/>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Amit Sharma-10
In reply to this post by Nikhil agrawal
Hi Nikhil,

reader-name attribute is type of data like seed, seed-initial, demo,
ext, ext-test, ext-demo and loader attrubute is resource loader name

Thanks & regards
Amit sharma

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"/>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Nikhil agrawal
Hi Amit,
Thanks for reply, but what i was looking is the brief meaning of reader-name
& loader.What you told is specific to data only.It is clear from the tag
name only that here loader name is of resource loader, but i wish to know
its description.Like the tag used here differently.
    <entity-resource type="model" reader-name="main" loader="main"
location="entitydef/entitymodel.xml"/>
Thanks:
Nikhil

On Fri, Dec 12, 2008 at 2:30 PM, Amit Sharma <[hidden email]>wrote:

> Hi Nikhil,
>
> reader-name attribute is type of data like seed, seed-initial, demo, ext,
> ext-test, ext-demo and loader attrubute is resource loader name
>
> Thanks & regards
> Amit sharma
>
>
> 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"/>
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Nikhil agrawal
In reply to this post by Deepesh Kapoor
Thanks Deepesh for your  help.
Regards:
Nikhil
On Fri, Dec 12, 2008 at 2:25 PM, Deepesh Kapoor <
[hidden email]> wrote:

> 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"/>
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Nikhil agrawal
Please anyone there answer my  question.:)
Thanks in advance......

On Fri, Dec 12, 2008 at 2:46 PM, Nikhil agrawal <[hidden email]> wrote:

>
> Thanks Deepesh for your  help.
> Regards:
> Nikhil
>
> On Fri, Dec 12, 2008 at 2:25 PM, Deepesh Kapoor <
> [hidden email]> wrote:
>
>> 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"/>
>>>
>>>
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

BJ Freeman
In reply to this post by Nikhil agrawal
reader name is used when you want to read in a file or group of files.
ofbiz$ java -jar ofbiz.jar -install -readers=seed,seed-initial
usually if you are going to create your own name, you have to add it to
the build.xml
these names like demo you can find in the documentation and in the
build.xml.
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

Loader is the class that reads in the info and processes.

Nikhil agrawal sent the following on 12/11/2008 11:22 PM:
>  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"/>
>
Reply | Threaded
Open this post in threaded view
|

Re: The meaning of reader-name

Nikhil agrawal
Thanks BJ for your reply.
Regards:
Nikhil Agrawal

On Sun, Dec 14, 2008 at 8:03 AM, BJ Freeman <[hidden email]> wrote:

> reader name is used when you want to read in a file or group of files.
> ofbiz$ java -jar ofbiz.jar -install -readers=seed,seed-initial
> usually if you are going to create your own name, you have to add it to
> the build.xml
> these names like demo you can find in the documentation and in the
> build.xml.
>
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
>
> Loader is the class that reads in the info and processes.
>
> Nikhil agrawal sent the following on 12/11/2008 11:22 PM:
> >  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"/>
> >
>