While learning the Dao layer I come up with a doubt.
In real time web application, multiple users may access same db in same time, in that case whether synchronize method or block need to be used? if possible can you share sample code dao for handling multiple user application
I referred below link :
http://ramj2ee.blogspot.com/2013/08/data-access-object-design-pattern-or.html#.Voeh3Wxuldh