Alexander Klyubin wrote:
> Does anybody have any good ideas on what's the best way to access business
> logic configuration files from beans?
> The file should probably be non-XML (e.g. Java standard name=value format).
> The file is read-only from application's point of view. The options I
> considered:
> * Entity bean -- slower access
> * Loading file each time -- very slow and inefficient
> * Caching file content (Properties object or whatever class) using singleton
> pattern.
One more option:
* Using bean environment variables
For parameters of global scope you can have a stateless bean having
get-methods for the parameters that read them from JNDI context.
Oleg
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]