Hi James, the commons-digester library is IMHO still an excellent XML->Object mapper even JAXB is, of course, most popular and more adopted. Otherwise that project could be deprecated :P
By definition, the Object->XML is not supported, from the commons-digester homepage[1]: "Basically, the Digester package lets you configure an XML -> Java object mapping module, which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. A rich set of predefined rules is available for your use, or you can also create your own." I didn't reinvent the wheel, I just tried adding a package to the existing codebase with new features not previously included in the original commons-digester. Please have a look at this short showcase[2] I put on my Apache space to have an idea on what that package differs from JAXB. Thanks in advance for any feedback/suggestion/hint, have a nice day, Simo [1] http://commons.apache.org/digester/ [2] http://people.apache.org/~simonetripodi/at-digester.html http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Jul 14, 2010 at 7:04 PM, James Carman <ja...@carmanconsulting.com> wrote: > Why not just use JAXB 2.0 which includes annotations? What itch does > this code scratch that hasn't been done already? Does your code > support going from the objects to the XML? Most of the time when you > have these XML -> object situations, it's nice to be able to go the > other way, also (such as is the case with JAXB). > > On Wed, Jul 14, 2010 at 12:30 PM, Simone Tripodi > <simone.trip...@gmail.com> wrote: >> Hi all guys, Digester maintainers, >> time ago[1] I proposed a sandbox[1] to work on a new feature for the >> digester, adding the Java5 Annotation analysis to create Digester >> rules. >> I didn't have the need to modify the original digester code, but >> rather I added a new package where adding the new feature, and without >> adding any new dependency. >> Time has passed, progresses on the design have been done, tests[3] go >> on green bar :) >> I'd really appreciate if anyone can help me on: >> >> * promoting that code on the current /trunk development (I'm already >> an Apache committer/PMC member, but not in commons); >> * writing the documentation (I'm not a native English speaker). >> >> I'm confident we can include that feature in the next Digester >> release, I really hope someone can help me :) >> Have a nice day, best regards, >> Simo >> >> [1] http://markmail.org/message/w33bwwfnbev75fuv >> [2] https://svn.apache.org/repos/asf/commons/sandbox/at-digester/trunk >> [3] >> https://svn.apache.org/repos/asf/commons/sandbox/at-digester/trunk/src/test/org/apache/commons/digester/annotations/ >> >> http://people.apache.org/~simonetripodi/ >> http://www.99soft.org/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org