I know it is used for parsing xml data and converting them into objects.Does that make any sense in using this in an enterprise application. Please help me .
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Commons Digester is a bit old-fashioned, but it still has its uses.
In cases where you have large streams of XML, it can be impractical to read it all into a binding framework like JAXB, due to memory constraints. Commons Digester allows you to build objects from the XML stream on the fly. Note, however, that JAXB also has some support for XML streaming (see here), and while it’s not ultimately as flexible as Commons Digester, it’s probably going to be easier to live with.