What are the best Java code generation tools or plugins to use in Eclipse?

后端 未结 12 2149
灰色年华
灰色年华 2021-01-30 23:43

I\'m aware of the built in code generation and refactoring one can do with the \"Source\" and \"Refactor\" menu items in Eclipse.

I also use the Commonclipse plugin to

12条回答
  •  攒了一身酷
    2021-01-31 00:10

    Telosys ( http://www.telosys.org/ ) is a simple and efficient tool for Java code generation.

    This code generator is available as an Eclipse Plugin (http://marketplace.eclipse.org/content/telosys-tools) and also as a Command Line Interface (https://github.com/telosys-tools-bricks/telosys-cli/wiki).

    The model defining all the entities can be created from scratch (DSL text model) or from an existing database (DB model).

    The templates are based on Velocity (http://velocity.apache.org) and can be downloaded from GitHub. All the templates are customizable and new templates can be created from scratch if necessary. Existing templates can generate code forJPA, Spring MVC, Database documentation, REST API, etc.

提交回复
热议问题