Java

Advice AspectJ a method call from different Maven project

I am trying to create an advice of a method of a project (test5) being called from another project (testMaven). I already included the project test5 as dependency in testMaven's pom.xml and set up an advice in testMaven's class but still it doesn't get executed. The calling of the method (dfg) is...

In domain driven design, why would you use an “aggregate” object and what key principles would you apply when designing an aggregate?

I am new to DDD, and so am just understanding the basic concepts around it. Can someone please guide me more towards aggregate objects in DDD? particularly, why would you use an “aggregate” object and what key principles would you apply when designing an aggregate? Thanks, Let's start it from the...