This content has been marked as final.
Show 1 reply
-
1. Re: Configuration file to J2EE
mschoning Feb 5, 2003 8:54 AM (in response to rafonso)Hi Rafael.
There is a J2EE "way" of being independent from the container. That is to use JNDI. Your application should really never look into the oracle-services.xml or any other jboss configuration file. If you need a datasource, simply look it up using JNDI. This will work even if you some day move your application to another container (assuming that also is a J2EE contianer). How you configure the datasource is up to each container though, here on JBoss you might for example configure an oracle datasource using oracle-services.xml But you application is not in any way tied to this xml file.
Best regards, Michael