<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7520738.post2439163575941477024..comments</id><updated>2011-07-21T11:34:23.988+05:30</updated><category term='logging'/><category term='bitwise'/><category term='class_diagrams'/><category term='video stanford compsci'/><category term='design_patterns'/><category term='kay'/><category term='singleton'/><category term='junit'/><category term='ranges'/><category term='mock_objects'/><category term='competition'/><category term='design_principles'/><category term='exceptions'/><category term='java applets 64-bit linux'/><category term='grails'/><category term='inheritance'/><category term='translating'/><category term='git'/><category term='grep'/><category term='android api'/><category term='video'/><category term='performance'/><category term='unicode'/><category term='polyglot_programming'/><category term='eclipse'/><category term='interactions'/><category term='strings'/><category term='newline'/><category term='closures'/><category term='training'/><category term='DockingFrames'/><category term='interpolation'/><category term='android_architecture video'/><category term='earning'/><category term='control_structures'/><category term='djano serialization python json'/><category term='linux eeepc'/><category term='xml'/><category term='helloworld'/><category term='CSS'/><category term='refactoring'/><category term='reference_types'/><category term='git partial_add'/><category term='teaching internet blogs podcasts new_media'/><category term='CVS'/><category term='faq'/><category term='learning_jsf'/><category term='gant'/><category term='misc'/><category term='stallman'/><category term='online'/><category term='vnc gnome'/><category term='timeboxing'/><category term='dojo'/><category term='hsqldb'/><category term='android application_lifecycle'/><category term='custom_component'/><category term='groovy'/><category term='software'/><category term='coding'/><category term='templating'/><category term='design'/><category term='final'/><category term='podcasting'/><category term='methods'/><category term='requirements'/><category term='blogging'/><category term='erasure'/><category term='object_oriented'/><category term='simplicity'/><category term='blogcamppune'/><category term='education'/><category term='podcast'/><category term='public'/><category term='test_driven development'/><category term='slashy_string'/><category term='DRY'/><category term='lists'/><category term='gc'/><category term='map'/><category term='types'/><category term='microisv'/><category term='android webview'/><category term='iAccelerator'/><category term='classloader'/><category term='unconference'/><category term='feedback'/><category term='agile'/><category term='screencasts'/><category term='python'/><category term='browser'/><category term='android apps_are_equal'/><category term='DWR'/><category term='jsf_intro'/><category term='polymorphism'/><category term='learning'/><category term='encapsulation'/><category term='alan'/><category term='comments'/><category term='javacvs'/><category term='teaching'/><category term='sharing'/><category term='coupling'/><category term='math'/><category term='python design_patterns'/><category term='static'/><category term='programming'/><category term='itvidya'/><category term='android parrallel'/><category term='metaprogramming'/><category term='goals'/><category term='website'/><category term='Java'/><category term='book'/><category term='quiz'/><category term='Boolean'/><category term='thread'/><category term='high_cohesion'/><category term='JDBC'/><category term='jquery'/><category term='beans'/><category term='certification'/><category term='inner_classes'/><category term='generics'/><category term='abstraction'/><category term='composition'/><category term='groovy grails unittest'/><category term='android apps_without_borders'/><category term='software_design'/><category term='double_checked_locking'/><category term='iptables'/><category term='numbers'/><category term='conventions'/><title type='text'>Comments on CODING INSIGHTS: Double Checked Locking And Java Singletons</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.adaptivesoftware.biz/feeds/2439163575941477024/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7520738/2439163575941477024/comments/default'/><link rel='alternate' type='text/html' href='http://blog.adaptivesoftware.biz/2010/10/double-checked-locking-and-java.html'/><author><name>Parag</name><uri>http://www.blogger.com/profile/16885449156962300704</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7520738.post-3802470288748616089</id><published>2011-02-16T23:09:56.419+05:30</published><updated>2011-02-16T23:09:56.419+05:30</updated><title type='text'>Thanks Javin. 

I agree that Serialization, multip...</title><content type='html'>Thanks Javin. &lt;br /&gt;&lt;br /&gt;I agree that Serialization, multiple classloaders, and cloning are also important aspects that can be covered.&lt;br /&gt;&lt;br /&gt;Using Enums is a nice idea.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7520738/2439163575941477024/comments/default/3802470288748616089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7520738/2439163575941477024/comments/default/3802470288748616089'/><link rel='alternate' type='text/html' href='http://blog.adaptivesoftware.biz/2010/10/double-checked-locking-and-java.html?showComment=1297877996419#c3802470288748616089' title=''/><author><name>Parag</name><uri>http://www.blogger.com/profile/16885449156962300704</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.adaptivesoftware.biz/2010/10/double-checked-locking-and-java.html' ref='tag:blogger.com,1999:blog-7520738.post-2439163575941477024' source='http://www.blogger.com/feeds/7520738/posts/default/2439163575941477024' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-214319666'/></entry><entry><id>tag:blogger.com,1999:blog-7520738.post-9184985265201879405</id><published>2011-02-16T20:17:14.447+05:30</published><updated>2011-02-16T20:17:14.447+05:30</updated><title type='text'>Best slide show I have seen for Singleton pattern ...</title><content type='html'>Best slide show I have seen for Singleton pattern , clear and self explanatory. though you could also address other aspect while writing Singleton e.g.&lt;br /&gt;3) Serialization&lt;br /&gt;4) Many ClassLoaders&lt;br /&gt;5)  Cloning&lt;br /&gt;&lt;br /&gt;to tackle all above problem best way is to use JAVA 5 Enum functionality and write Singleton using Enum like below.&lt;br /&gt;public enum Singleton {&lt;br /&gt;   INSTANCE;&lt;br /&gt;&lt;br /&gt;   public static void hi(){&lt;br /&gt;     System.out.println(&amp;quot;Hi&amp;quot;);&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Javin&lt;br /&gt;&lt;a href="http://javarevisited.blogspot.com/2010/10/why-string-is-immutable-in-java.html" title="Why String is immutable in Java" rel="nofollow"&gt;Why String is immutable in Java &lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7520738/2439163575941477024/comments/default/9184985265201879405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7520738/2439163575941477024/comments/default/9184985265201879405'/><link rel='alternate' type='text/html' href='http://blog.adaptivesoftware.biz/2010/10/double-checked-locking-and-java.html?showComment=1297867634447#c9184985265201879405' title=''/><author><name>Javin @ Tibco RV Tutorial</name><uri>http://javarevisited.blogspot.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.adaptivesoftware.biz/2010/10/double-checked-locking-and-java.html' ref='tag:blogger.com,1999:blog-7520738.post-2439163575941477024' source='http://www.blogger.com/feeds/7520738/posts/default/2439163575941477024' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1955810879'/></entry></feed>
