AEM service impl class v/s Java Utility class or methods
Hello All,
Difference between the use cases of AEM service class (i mean service impl class), Java utility classes.
Even for the service impl class, we are passing the resource resolver object, other resources. Same case for Java utility methods. Then, in which scenario, we need to prefer AEM service impl classes over Java utility class (or methods).
I know one point is: We can get Run mode specific config files details in service impl class. Where as these values to passed if you are calling java utility methods.