I have my multi-module webapp with spring, some servlets and hibernation. I have 4 modules:
-model
-Service
-Utils
-Web
It works fine, but, I need to run some code only at the start of the server. Is there any way to execute code only when it runs as -> run on the server but not every time a request is made?