What is the best way to make some initialisations (starting up persistence framework, initializing application-logging, ect.) after an ear is loaded?
Currently we use the init-method of an Servlet with
<load-on-startup>1</load-on-startup>.
Is there a better or more common way to do this?