jesal dosa wrote:Thanks Anne,
If you guys think its fine to leave the locking in during the standalone mode, then that seems acceptable to me as well. Thanks for you advice.
Ok then i will implement my locking in the data class. and will keep record locking even in standalone mode and as per per my previous reply i will use synchronized when implementing the DBmain interface in the data class
I agree with other ranchers..
You should view your DBMain implementation as a persistence library that your application will be using.. Similar to any other product in the
java world, SUN provides an interface, a 3rd party company provide the implementation and the developers use the implementation.
In other words, the "3rd party company" (you) must provide a correct implementation so that the "developer" (you) can use it as expected.
Regards,
Alex