>
> Also, as a side question, I would like to be able to use a centralized
> generic config file (that has nothing to do with Hibernate), again to be
> used by all web services...  Some kind of properties file, for example
> config.properties...  Is that possible, and if so, where do I put it ?
>

You may use JNDI in context.xml.

http://stackoverflow.com/questions/514777/how-to-initialize-a-value-in-web-xml-from-a-jndi-variable

In fact, I define in this way a pointer to a directory that contains
my hibernate.cfg file and initialize Hibernate accordingly.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to