Hi Abhishek,
Sorry ,yesterday i posted wrongly..DBUtils is a class not a package.
I am posting a sample code ..static method that interacts with database
This is the sample code.I am having DAO layer.In DAO I won't write the
JDBC code.I am writing in DBUtils class.
In DAO's iam calling the static methods of DBUtils class
So when 2 users send request then 2 threads will create.while accessing this static method any concurrent issues arise or not.
If arise ,what is the solution.
Please anyone tell the solution..