Project is a war using local tomcat
I'm wondering how to run a method automatically after server startup? I know of ways to run it DURING server startup such as @Bean method or during context initialization, but how can I do it AFTER the server successfully starts?
Using Spring Boot, adding the @PostConstruct annotation to the method causes it to run after the Spring Boot application starts up.