Framework DDD in Java