I am connecting to an oracle DB from a JAVA code which in turn is called from a JSP page. But i am confused as to whether a normal configuration/properties file is the best place to store the connection details to the DB.

Apologies if this sounds too silly.

Thanks in Advance

有帮助吗?

解决方案

Thanks all for the Responses,

I went ahead with the Data sources and was able to do it successfully in my scenario :)

Appreciate all the help.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top