posted 18 years ago
"EJBs are allowed to invoke Class.getResource in order to retrieve bundled resources (images, texts, properties, etc)."
It doesn't say that local file system will be used directly.. You can not access files from bean, you're right. But if the container takes care to load some resource for you to use, you can get it. This is "unfair" question, they are asking you things that everybody knows are not part of the exam.