Atabaque DTDtoBean generates JavaBeans from a specified DTD file. You can choose generate standard Java Beans or using Annotations for XStream or Simple, APIs for XML Serialization. It´s available as a command line, Swing application or NetBeans plugin.