Ok, I know how to get the streams when the config files are in the 
classpath, but it is not clear to me how I can configure JDO using the 
stream that contains the configuration info. I suppose that there is 
some combination of methods in the api that let you instantiate a 
database with this config and mapping streams, but I cannot see it.

Rgds,
B.R.

Bruce Snyder wrote:
> This one time, at band camp, Bruno Ranschaert said:
> 
> BR>I intend to use Castor in a J2EE environment. I would like to fetch the
> BR>database configuration file and the mapping file from another source, on
> BR>  some application servers it is difficult to get access to resources
> BR>not on the classpath.
> BR>
> BR>Is there a way to provide the XML configuration information directly to
> BR>the jdo object, e.g. as a String? Is there a way to point the jdo to a
> BR>resource on the classpath, or to provide a stream?
> 
> Bruno,
> 
> It's actually very easy to get the descriptor files from the
> CLASSPATH. Please see this message for more details:
> 
>     http://www.mail-archive.com/[email protected]/msg07008.html
> 
> Hope this helps.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to