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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With