CodeJohnny is a Java Code Generator for Eclipse that saves you from writing repetitious code patterns by hand. The CodeJohnny Java Package contains your templates and any custom methods you’ll use to populate your templates. A CodeJohnny Server JAR is included to do the heavy lifting of converting MySQL and PostgreSQL data objects to Java Code, and the CodeJohnny Plugin converts your templates to Java Code in your Editor!

Templates are saved as .CJT files and recognized by the CodeJohnny Eclipse Plugin as CodeJohnny Templates.

CodeJohnny Client Project and Code Generator Editor

CodeJohnny in action

We’re going to create a simple Data Object Container. The Template goes in…

CodeJohnny Template

…and with a click on the Plugin Editor’s “Generated Source Code” Tab, the source code comes out!

CodeJohnny Template

That’s CodeJohnny!