A simpler, maybe less elegant solution, could be to create a servlet that loads at startup and perform initialization there.
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community