Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 easily make use of the Apache Commons classes that build hashCode, toString, equals methods.

What other plugins or tools should I be aware of for generating Java source easily under the Eclipse IDE?

like image 834
Chinnery Avatar asked Dec 11 '08 17:12

Chinnery


People also ask

What is a Java code generator?

The Java code generator can create a default implementation of the ITimerService interface, and in many cases it will be sufficient. This implementation is based on java. util.


1 Answers

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.

like image 66
rlopez Avatar answered Sep 23 '22 06:09

rlopez