Subclass MessageResource and use JNDI.

-----Urspr�ngliche Nachricht-----
Von: Friso De Jonge [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 17:37
An: '[EMAIL PROTECTED]'
Betreff: how to MessageResources in EJB's


Hi,
When deploying an application you generally create an ejb jar, an ear and a
war file
the ejb containing all ejb, the .war containing all the java,jsp taglibs and
web-inf.

My assumption is that this means the ejb.jar does not know the
application.resources file.
(since it cannot see the web-inf/classes) am i right ? 

What would you do if i need to use properties in the ejb's ? Do i write a
utility class reading
another property file ? Or can i use MessageResources and the factory for
it, reading a propertyfile. 
thanks




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to