Application context initialization

1
I have integrated some of my spring-based components into Mendix application. It is not clear how and when initialize spring context or other external components. What I have done at this moment - I initialize context on first invocation from java action to my service bean (I've implemented singleton patter with lazy initialization). Is it possible to do it when Mendix application starts (maybe some listeners or interfaces)?
asked
1 answers
2

It's possible to configure a startup microflow in the project settings. This microflow will be executed immediately after the application has been started up. This way you could initialize spring in a java-action. Just like we did in our project.

answered