Dependency Injection
With Apache Causeway it’s common to inject domain services into domain entities; this allows behaviour to be pushed down into those entities.
For JPA, this requires that the following boilerplate:
import javax.persistence.EntityListeners;
import org.apache.causeway.persistence.jpa.applib.integration.JpaEntityInjectionPointResolver;
@EntityListeners(JpaEntityInjectionPointResolver.class)
public class SomeEntity ... { /* ... */ }