In Spring AOP, a Join Point represents a specific point during program execution where an aspect can be applied, while a Pointcut is an expression that identifies and selects one or more Join Points where advice should run. Simply put, Join Points are the possible execution points, and Pointcuts define which of those points should be intercepted.
Consider an application where logging is required whenever any method in the service layer is executed.
@Aspect
@Component
public class LoggingAspect {
@Pointcut(
"execution(* com.app.service.*.*(..))")
public void serviceMethods() {
}
@Before("serviceMethods()")
public void logBefore() {
System.out.println(
"Method Execution Started");
}
}A concise interview answer is: A Join Point is a specific point in program execution where an aspect can be applied, such as a method execution. A Pointcut is an expression that selects one or more Join Points. In Spring AOP, advice is executed only on the Join Points matched by the Pointcut expression.
Last updated: 11 November 2026
Previous question: What is the difference between the @Spy and @Mock annotations in Mockito?
Next question: What is Spring Batch, and what are the steps to implement a batch job?