You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Omer Berkman <Om...@ins-sure.com> on 2007/02/01 14:28:37 UTC

Digester question

Hi,

 

Has anyone ever used Digester to parse incoming XML files before?

 

I know that the digester web page says this is a tool to read config
files and the it is not a good performer,

 

but I am  curious  to find out if anyone has tried to parse incoming XML
messages into Java objects with Digester ( I mean in prod ).

 

Thanks very much,

 

Omer Berkman



-----------------------------------------------------
THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL

AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE. 
IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU ARE ON NOTICE OF ITS STATUS. 
PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE THIS EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM. 
YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER PERSON: 

TO DO SO COULD BE A BREACH OF CONFIDENCE

EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND UNAUTHORISED AMENDMENT, 
AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR AMENDMENT OR THE CONSEQUENCES THEREOF. 

WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR NETWORK FOR VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES. 
WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A VIRUS IN ANY EMAIL OR ATTACHMENT.

-----------------------------------------------
postmaster@ins-sure.com


Re: Digester question

Posted by Paul J DeCoursey <pa...@decoursey.net>.
I've recently started using JAXB for this kind of thing, it's works fine 
and seems to perform well.

Niall Gallagher wrote:
> Hi
>
> A much faster tool to convert XML into Java objects is Simple XML. It 
> streams incomming XML and converts it into Java object instances as 
> the XML is streamed in. Has many other powerful features that make it 
> faster and much safer than Digester. You can check it out here:
>
> http://simple.sourceforge.net/
>
> Niall
>
> RamDeepak Ramesh wrote:
>> Hi Omer Berkman :
>>
>> I have used this long back, accept the fact about the performance.
>> But we designed a in-house product for our own DAO, we used this 
>> digester to
>> read the SQL ( in specific XML format ) and then manipulate them.
>>
>> Contact me if needed detailed information.( I need some time :-) ).
>>
>> Regards,
>> Ramdeepak R
>>
>> On 2/1/07, Omer Berkman <Om...@ins-sure.com> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> Has anyone ever used Digester to parse incoming XML files before?
>>>
>>>
>>>
>>> I know that the digester web page says this is a tool to read config
>>> files and the it is not a good performer,
>>>
>>>
>>>
>>> but I am  curious  to find out if anyone has tried to parse incoming 
>>> XML
>>> messages into Java objects with Digester ( I mean in prod ).
>>>
>>>
>>>
>>> Thanks very much,
>>>
>>>
>>>
>>> Omer Berkman
>>>
>>>
>>>
>>> -----------------------------------------------------
>>> THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL
>>>
>>> AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE.
>>> IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU
>>> ARE ON NOTICE OF ITS STATUS.
>>> PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE 
>>> THIS
>>> EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM.
>>> YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY
>>> PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER 
>>> PERSON:
>>>
>>> TO DO SO COULD BE A BREACH OF CONFIDENCE
>>>
>>> EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND 
>>> UNAUTHORISED
>>> AMENDMENT,
>>> AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR
>>> AMENDMENT OR THE CONSEQUENCES THEREOF.
>>>
>>> WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR 
>>> NETWORK FOR
>>> VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES.
>>> WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A
>>> VIRUS IN ANY EMAIL OR ATTACHMENT.
>>>
>>> -----------------------------------------------
>>> postmaster@ins-sure.com
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Digester question

Posted by Niall Gallagher <ni...@voxsurf.com>.
Hi

A much faster tool to convert XML into Java objects is Simple XML. It 
streams incomming XML and converts it into Java object instances as the 
XML is streamed in. Has many other powerful features that make it faster 
and much safer than Digester. You can check it out here:

http://simple.sourceforge.net/

Niall

RamDeepak Ramesh wrote:
> Hi Omer Berkman :
>
> I have used this long back, accept the fact about the performance.
> But we designed a in-house product for our own DAO, we used this 
> digester to
> read the SQL ( in specific XML format ) and then manipulate them.
>
> Contact me if needed detailed information.( I need some time :-) ).
>
> Regards,
> Ramdeepak R
>
> On 2/1/07, Omer Berkman <Om...@ins-sure.com> wrote:
>>
>> Hi,
>>
>>
>>
>> Has anyone ever used Digester to parse incoming XML files before?
>>
>>
>>
>> I know that the digester web page says this is a tool to read config
>> files and the it is not a good performer,
>>
>>
>>
>> but I am  curious  to find out if anyone has tried to parse incoming XML
>> messages into Java objects with Digester ( I mean in prod ).
>>
>>
>>
>> Thanks very much,
>>
>>
>>
>> Omer Berkman
>>
>>
>>
>> -----------------------------------------------------
>> THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL
>>
>> AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE.
>> IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU
>> ARE ON NOTICE OF ITS STATUS.
>> PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE 
>> THIS
>> EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM.
>> YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY
>> PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER 
>> PERSON:
>>
>> TO DO SO COULD BE A BREACH OF CONFIDENCE
>>
>> EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND 
>> UNAUTHORISED
>> AMENDMENT,
>> AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR
>> AMENDMENT OR THE CONSEQUENCES THEREOF.
>>
>> WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR 
>> NETWORK FOR
>> VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES.
>> WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A
>> VIRUS IN ANY EMAIL OR ATTACHMENT.
>>
>> -----------------------------------------------
>> postmaster@ins-sure.com
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Digester question

Posted by RamDeepak Ramesh <ra...@gmail.com>.
Hi Omer Berkman :

I have used this long back, accept the fact about the performance.
But we designed a in-house product for our own DAO, we used this digester to
read the SQL ( in specific XML format ) and then manipulate them.

Contact me if needed detailed information.( I need some time :-) ).

Regards,
Ramdeepak R

On 2/1/07, Omer Berkman <Om...@ins-sure.com> wrote:
>
> Hi,
>
>
>
> Has anyone ever used Digester to parse incoming XML files before?
>
>
>
> I know that the digester web page says this is a tool to read config
> files and the it is not a good performer,
>
>
>
> but I am  curious  to find out if anyone has tried to parse incoming XML
> messages into Java objects with Digester ( I mean in prod ).
>
>
>
> Thanks very much,
>
>
>
> Omer Berkman
>
>
>
> -----------------------------------------------------
> THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL
>
> AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE.
> IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU
> ARE ON NOTICE OF ITS STATUS.
> PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE THIS
> EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM.
> YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY
> PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER PERSON:
>
> TO DO SO COULD BE A BREACH OF CONFIDENCE
>
> EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND UNAUTHORISED
> AMENDMENT,
> AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR
> AMENDMENT OR THE CONSEQUENCES THEREOF.
>
> WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR NETWORK FOR
> VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES.
> WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A
> VIRUS IN ANY EMAIL OR ATTACHMENT.
>
> -----------------------------------------------
> postmaster@ins-sure.com
>
>