>Wondering how are the application specific properties kept and accessed as
>file io is discouraged in an EJB Container/Server, this must be a common
>problem I guess.Please correct me if I am wrong !!
>
>Do people use property files to store this kind of ata and what's their
>experience?
>The example being, if I need to query tables, and have a soft-coding for the
>table names/ column names, where do I keep it, as this is specific to the
>application.
If you use property files then you need to make some kind of resource
manager to access it since beans cannot do file I/O. This is not very
difficult to do though (~20 lines of code).
The standard way to do this is to add these settings to the ejb-jar.xml
file as environment entries.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".