tag:blogger.com,1999:blog-2902524569242410076.post4421828569063916884..comments2024-03-18T23:23:54.609+06:00Comments on A Test Developer's blog: Introduction to Singleton pattern(example with jdbc/sqlserver)Shantonu Sarkerhttp://www.blogger.com/profile/04242703372249401023noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2902524569242410076.post-29325241835743660502014-06-12T17:18:31.233+06:002014-06-12T17:18:31.233+06:00Thanks for your reply.. Thanks for your reply.. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-55447335892885270392014-06-12T14:26:02.887+06:002014-06-12T14:26:02.887+06:00it seems okay. it seems okay. Shantonu Sarkerhttps://www.blogger.com/profile/04242703372249401023noreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-64969798951254588102014-06-12T14:24:33.518+06:002014-06-12T14:24:33.518+06:00try this https://drive.google.com/file/d/0B-OmBwkw...try this https://drive.google.com/file/d/0B-OmBwkwiTCQUkQ0dER2c0xjUXM/edit?usp=sharingShantonu Sarkerhttps://www.blogger.com/profile/04242703372249401023noreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-39181543842980609862014-06-12T14:14:04.681+06:002014-06-12T14:14:04.681+06:00In a case where I have a method called getConnecti...In a case where I have a method called getConnection() for it should be called to perform crud operation in daos, which option would be better - to make the class as final or to make the method synchronized.. Also I have placed a method for closing the resources in this class itself.. as close(rs,st,con)..<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-77117829373263020472014-06-12T14:10:46.378+06:002014-06-12T14:10:46.378+06:00What should we do if we want to create a method ca...What should we do if we want to create a method called getConnection() within this class and use that connection object in various daos to perform crud operations.. In such a case which is better option to make the whole class final only the getConnection method synchronized???<br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-63919778398212833792014-06-12T14:07:43.218+06:002014-06-12T14:07:43.218+06:00Again the page shows:
Google logo Drive ...Again the page shows:<br /><br />Google logo Drive Sign in<br /><br />JdbcSingleTone Empty folder<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-47720288244887253692014-06-12T13:41:33.359+06:002014-06-12T13:41:33.359+06:00Please check the link again.Please check the link again.Shantonu Sarkerhttps://www.blogger.com/profile/04242703372249401023noreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-91908147157947196602014-06-12T11:24:17.442+06:002014-06-12T11:24:17.442+06:00You have mentioned "I have shared a small ecl...You have mentioned "I have shared a small eclipse project here...".. But it shows empty folder in google dirve.. pls check to it.. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-63666961263781219732014-06-12T11:22:15.202+06:002014-06-12T11:22:15.202+06:00Clear explanation.. Easily understandable...Thanks...Clear explanation.. Easily understandable...ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-6395964369900220902014-01-27T11:57:04.766+06:002014-01-27T11:57:04.766+06:00Thanks...:) Thanks...:) Shantonu Sarkerhttps://www.blogger.com/profile/04242703372249401023noreply@blogger.comtag:blogger.com,1999:blog-2902524569242410076.post-80338190290894891732014-01-27T11:10:45.092+06:002014-01-27T11:10:45.092+06:00Simply described...:-)Simply described...:-)Anonymousnoreply@blogger.com