posted 13 years ago
Hello,
I am developing a Spring based web application.The application needs to access the database.Where do I specify the database
access parameters?Do I specify them in the xml file which I use for other purposes-for dependency injection,forwards to appropriate JSPs
etc?If I specify the connection parameters in that xml file,how do i read the values in the classes where I need them inorder to write
database related queries?I plan to use the JDBCTemplate class for the queries.
Please advise.
Thanks
Richard