Define a project in XML files and XML2Java will generate your Java code.