Topology (both aggregate and persistentAggregate) works for Java.