You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gary Struthers <ga...@dnai.com> on 2001/12/10 00:09:58 UTC

JDOM vs Digester

Digester looks like it is meant to be JDOM like with Rules. Would anyone 
like to compare and contrast them. When would Digester be a better 
choice if I'm already using JDOM?

Thanks,
Gary


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: JDOM vs Digester

Posted by Yee Keat <yk...@netwxs.com.my>.
Digester is a JDOM with javabeans mapping, if you use Digester, you should 
have a couple of javabeans on hand, and than you can do one-to-one mapping 
with the xml file, for loading purpose mainly.

If you use JDOM, can get all the attributes out, but you will have to call 
the setter of the javabeans to populate them. Digester automate the 
population process.

On Monday 10 December 2001 07:09 am, you wrote:
> Digester looks like it is meant to be JDOM like with Rules. Would anyone
> like to compare and contrast them. When would Digester be a better
> choice if I'm already using JDOM?
>
> Thanks,
> Gary

-- 
Cheers,

Yee Keat

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>