I read this from http://www.certcities.com/editorial/popquiz/print.asp?EditorialsID=54 EJBs are allowed to retrieve resources (images, texts, properties, etc) that have been bundled within the same enterprise application archive. is this true? I know that ejbs are not allowed to access local file system. is "retrieve resources" a form of "access local file system" ?
"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.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop