Hi, I'm using TomEE 1.5.2 and I want some application code to be executed on application (WAR) startup. It's a loader which reads a configuration file. The class is a CDI class, but no other class has a reference to it. That's why it is not created normally. What's the best way to do that? Must I convert the class to an EJB? Or is there a CDI mechanism?
Thanks! Martin
