"The bean's "runtime environment properties" (i.e Context.lookup( "java:comp/env/..." )) are what this is for - providing runtime configuration to your bean."
"Refer to section 24.1.2, "Programming Restrictions", of the specification (EJB 2.0). Beans are strictly prohibited from accessing either the local filesystem via classes of the java.io package or the system ClassLoader, both being typical means for accessing properties files. Possible ways around these restrictions are through other resource manager classes such as a URL connection or the JNDI Filesystem Service Provider. Both of these methods, however, may prove to be more troublesome than they are worth."
"Use either the bean's "runtime environment" or a database to provide configuration data to your bean."
"Refer to section 24.1.2, "Programming Restrictions", of the specification (EJB 2.0). Beans are strictly prohibited from accessing either the local filesystem via classes of the java.io package or the system ClassLoader, both being typical means for accessing properties files. Possible ways around these restrictions are through other resource manager classes such as a URL connection or the JNDI Filesystem Service Provider. Both of these methods, however, may prove to be more troublesome than they are worth."
"Use either the bean's "runtime environment" or a database to provide configuration data to your bean."