Hello folks, I know the EJb specs discourages us to acess local files, but I have to acess some xml templates in WEB-INF. Anyone knows how can it be done? Do I have to use JNDI? Can you give me an example?
Thanks in advance and best regards,
posted 13 years ago
Put those XML templates in some shared location to EAR and WAR.
EJB tier should not be dependent upon Web tier as far as possible.