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 jakarta.persistence.EntityListeners;
import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
@EntityListeners(CausewayEntityListener.class)
public class SomeEntity ... { /* ... */ }