I have a timer bean and I want it to read some configuration from a file. I package the file in the ear (copied to under the META-INF directory).
In the timer I want to read this file but I can't figure out how to resolve the temporary deployment directoy that the ear file is extracted to by the container.
Does anyone know how to do this? Or the correct way to get at files packaged in the ear file?
if it is in META-INF why not just look it up with the classloader.getResource ?
In any case, this is a JEE deployment/API question and I don't think the tools area is well suited for that ;)