Enhancement

Ebean uses bytecode enhancement to provide dirty checking and lazy loading among other things. We using tooling via IDEA, Eclipse, maven and gradle plugins to perform this enhancement.

IntelliJ IDEA

Install and use the IDEA plugin to perform enhancement during development. Typically we do this AND use build time enhancement via maven or gradle.

Eclipse IDE

Install and use the Eclipse plugin to perform enhancement during development. Typically we do this AND use build time enhancement via maven or gradle.

Maven

Add a maven tile or plugin to perform build time enhancement.

Gradle

Add a gradle plugin to perform build time enhancement.

Recommendation

Use both IDE plugin enhancement (Idea or Eclipse) plus build time enhancement (maven or gradle).

Videos

Maven enhancement

Enhancement of entity and query beans using the maven enhancement tile

IntelliJ plugin

Enhancement using the IntelliJ IDEA plugin

IntelliJ debugger

Looks at Idea debugger setting that invokes lazy loading

Eclipse plugin

Enhancement using the Eclipse plugin

Eclipse APT

Eclipse setup for Query bean generation (via Java annotation processor).