I want to read MANIFEST.MF of my deployment unit which is a WAR file.
A typical way to do:
servletContext.getResource("/META-INF/MANIFEST.MF);
But how to do this if you have no reference to a ServletContext? For example in a job triggered by the Java EE TimerService? Or even if the application is not a webapp?
Any ideas?