Hi Markus,
If your entities exist inside Java EE environment at runtime, they can look up any resource s that are declared in the descriptors or injected into components in the same naming context. But if you need these a lot in your entities, it may be a hint they are can better done in a stateless bean and let entities focus on persistence.
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=272062