Use ServletContext or properties file for JDBC connection
For storing the database connectivity info i.e driver name , username ,
password and url should i use servletContext initParameters in web.xml or
should i go for properties file in the model part of the project. Which
one will be more effective to use and why ?
No comments:
Post a Comment