Solved
How can I create a Java file that runs only once when my application starts?
Hi there!
We are attempting to configure certain system properties in our Maven project for AEM. We'd like to create a Java class that executes only once during startup.
For instance, consider these configurations:
Locale.setDefault(new Locale("es", "ES"));
How can we achieve this?
Thank you!