views:

1113

answers:

1

Does anyone know of a good Eclipse POJO generator? The generate getter\setters and constructor from fields functions are all really nice, but it would be useful to have that tied into a new class\POJO dialog.

A: 

This is not an Eclipse plug-in, but here's one way to generate Java beans. Define the schema using Relax NG Compact syntax, convert it to XML Schema (xsd file), and generate Java code using JAXB (xjc).

eed3si9n