<?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/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9150561117329868491</id><updated>2012-02-13T11:04:40.919+05:30</updated><category term='EasyMock'/><category term='Twitter alert'/><category term='Java Mail API'/><category term='SQL with Hibernate Criteria'/><category term='Struts2'/><category term='Developing in cycles'/><category term='Java NIO'/><category term='packagesToScan'/><category term='Technical innovation'/><category term='java io'/><category term='Estimate'/><category term='WAR'/><category term='Hibernate'/><category term='Java Script Date'/><category term='Mongo DB'/><category term='JFreeChart for web'/><category term='Charting for java'/><category term='Java Heap'/><category term='review code'/><category term='Using HibernateDAOSupport'/><category term='Project sizing'/><category term='JBoss Caching'/><category term='SMTP Java'/><category term='TDD'/><category term='Google Products for web sites'/><category term='AXIOM'/><category term='CSS tutorials'/><category term='Spring JMS'/><category term='HTML Tags'/><category term='JMS with Spring'/><category term='java file reading'/><category term='String gabage collection'/><category term='jQuery tips'/><category term='JMS'/><category term='div closing'/><category term='Session Beans'/><category term='Jboss EAR'/><category term='Eclipse Project to Java project'/><category term='Java Mail'/><category term='Java Script'/><category term='ie close div'/><category term='jQuery'/><category term='Java Collections API'/><category term='IT in general'/><category term='CSS'/><category term='Concurrent HashMap'/><category term='Java Script Charting'/><category term='Black Google'/><category term='Spring AOP'/><category term='Spring Component'/><category term='Async'/><category term='Spring Integration'/><category term='Architectural mishaps'/><category term='Java Script Array'/><category term='EJB 3.0'/><category term='Spring twitter plugin'/><category term='Spring Mail'/><category term='Java Script Array Sorting'/><category term='String builder'/><category term='Test driven development'/><category term='Internet Explorer cannot open the Internet site'/><category term='aop-aspectj autoproxy'/><category term='Web APIs'/><category term='Mongo DB with Morphia'/><category term='SQL Tips'/><category term='Project Estimation'/><category term='Project Planing'/><category term='XML Parsing with AXIOM'/><category term='ws-security'/><category term='closing div'/><category term='Struts 2 annotations'/><category term='Json Util'/><category term='jboss jaxws'/><category term='String concatenation'/><category term='Twitter'/><category term='Plugin architecture'/><category term='JD'/><category term='Iterative development'/><category term='HTTP Request'/><category term='Hazlecast'/><category term='Class path issue in java'/><category term='Criteria SQL'/><category term='Class Not found org.jaxen.VariableContext'/><category term='jLayout'/><category term='jboss ws-security'/><category term='HashMap'/><category term='jQuery UI'/><category term='JS'/><category term='Spring Autowired'/><category term='Oracle'/><category term='Java Script Date Object'/><category term='Jboss Clustering'/><category term='Free Icons'/><category term='Java Mail Client'/><category term='SP with hibernate'/><category term='Arrays.asList()'/><category term='Easy Mock'/><category term='Planning'/><category term='Outer Join'/><category term='Estimation'/><category term='JAX-WS'/><category term='Spring'/><category term='Marquee'/><category term='Iterative Software Development'/><category term='Life in the world of IT'/><category term='AnnotationSessionFactoryBean'/><category term='Cluster'/><category term='Spring StoredProecedureCall'/><category term='SP with HBM'/><category term='JVM'/><category term='Struts annotation'/><category term='Memory Structure'/><category term='org.jaxen.VariableContext'/><category term='JS Date'/><category term='Data URI'/><category term='Marquee HTML tag'/><category term='EAR'/><category term='Stack'/><category term='POP3 client'/><category term='XML-XSD converter'/><category term='String buffer'/><category term='Retry Interceptor'/><category term='Gson'/><category term='Transactions'/><category term='Classpath nightmare'/><category term='jQuery plugins'/><category term='Enums'/><category term='Code review'/><category term='HTML tag'/><category term='Power Mock'/><category term='Stored proc with Spring'/><category term='XML parsing'/><category term='JPA and Enum'/><category term='Spring Transactions'/><category term='Ubuntu'/><category term='Asynchronous'/><category term='Spring Customer Editors'/><category term='AOP with Spring'/><category term='Primitive types in collections'/><category term='Concurrent'/><category term='Java Decompiler'/><category term='ws-sec'/><category term='Java Objects'/><category term='List Iterator'/><category term='Stored procedures with hibernate'/><title type='text'>My Journey Through IT</title><subtitle type='html'>"In today's environment, hoarding knowledge ultimately erodes your power. If you know something very important, the way to get power is by actually sharing it.".. and hence i stand by it</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default?start-index=101&amp;max-results=100'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>118</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3017343900135618454</id><published>2012-01-11T09:14:00.001+05:30</published><updated>2012-01-11T09:14:59.048+05:30</updated><title type='text'>Understanding Java References</title><summary type='text'>Playing around with Java References:

I could not pay attention to the blog in the recent times and first and foremost I must apologize for not staying in touch with you all in the world of technology. I recently stumbled upon the java.lang.ref package which was available since Java 1.2 but ironically i got to know about it just a few days back. Going through a few articles explaining about the </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3017343900135618454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2012/01/understanding-java-references.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3017343900135618454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3017343900135618454'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2012/01/understanding-java-references.html' title='Understanding Java References'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7705344232315621531</id><published>2011-11-08T15:16:00.000+05:30</published><updated>2011-11-22T16:54:13.102+05:30</updated><title type='text'>Hibernate by Example - Part 2 (DetachedCriteria)</title><summary type='text'>So last time we helped out justice league to effectively manage their super heroes. Today we focus on how The Avengers will be using Hibernate's Detached Criteria to find out their enemies with respect to each superhero so as to protect their super heroes. You can download the working example from here.

In this example we take only two entities into consideration. The Avenger &amp; The Villain. We </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7705344232315621531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/11/hibernate-by-example-part-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7705344232315621531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7705344232315621531'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/11/hibernate-by-example-part-2.html' title='Hibernate by Example - Part 2 (DetachedCriteria)'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-9131617361147457182</id><published>2011-09-06T16:26:00.000+05:30</published><updated>2011-09-07T10:10:18.969+05:30</updated><title type='text'>Hibernate by Example - Part 1 (Orphan removal)</title><summary type='text'>So i thought to do a series of hibernate examples showing various features of hibernate. In the first part i wanted to show about the Delete Orphan feature and how it may be used with the use of a story line. So let us begin :)


 

Prerequisites: 
In order for you to try out the following example you will need the below mentioned JAR files:



org.springframework.aop-3.0.6.RELEASE.jar


</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/9131617361147457182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/09/hibernate-by-example-part-1-orphan.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/9131617361147457182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/9131617361147457182'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/09/hibernate-by-example-part-1-orphan.html' title='Hibernate by Example - Part 1 (Orphan removal)'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-I2Bly9TypWA/TmXQ5QXK4wI/AAAAAAAAAFA/iCHmV2oviuA/s72-c/justice_league_er_diagram.jpeg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-657273629301366548</id><published>2011-08-13T22:34:00.006+05:30</published><updated>2011-08-14T06:32:18.654+05:30</updated><title type='text'>Lessons i learnt playing Angry Birds</title><summary type='text'>



So i finally saved up and bought my first smart phone a few weeks back(A samsung galaxy s i9000 to be specific). I heard about the game Angry Birds even before i had a smart phone but never got a chance to play it. The hype about it was very true. The game is addictive :D. Anyhow my objective of this article is not to disseminate news how awesome Angry Birds is, which is quite obvious with </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/657273629301366548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/08/lessons-i-learnt-playing-angry-birds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/657273629301366548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/657273629301366548'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/08/lessons-i-learnt-playing-angry-birds.html' title='Lessons i learnt playing Angry Birds'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-M_Q6cg8Z3No/Tkas0c9x9lI/AAAAAAAAAEk/R7Pr-4vFNgU/s72-c/angry-birds-on-android1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1929417403608501541</id><published>2011-08-06T20:38:00.003+05:30</published><updated>2011-08-06T20:43:07.793+05:30</updated><title type='text'>What i love about PHP</title><summary type='text'>



 First of all i must say im relatively new to the whole PHP scene. Coming from an OOP background with mostly Java/C++ experience i must say the transition was not rough as i expected it to be. Unfortunately i have not been able to code in PHP at an industrial level but use it for many of my freelance projects which has been very productive up to now. So i would love to highlight why i love </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1929417403608501541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/08/what-i-love-about-php.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1929417403608501541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1929417403608501541'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/08/what-i-love-about-php.html' title='What i love about PHP'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4795469588023982996</id><published>2011-07-23T21:50:00.006+05:30</published><updated>2011-08-01T06:05:48.335+05:30</updated><title type='text'>The story of the ArrayList imposter</title><summary type='text'>Each and everyone of us, undoubtedly has had used Array lists in our lives as programmers. This story is about an imposter who lives among us, unnoticed, undetected until WHAM you are presented with a bug that makes no sense. Let me give you an example to reveal this imposter :). I have a hypothetical system that stores information on games and their ratings. A glimpse of the DTO i would use is </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4795469588023982996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/story-of-arraylist-imposter.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4795469588023982996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4795469588023982996'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/story-of-arraylist-imposter.html' title='The story of the ArrayList imposter'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-HVwNblink0k/TirqKMoKKSI/AAAAAAAAADo/evfE4Vjq5Ng/s72-c/Optimized-unsupported_exception.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7484850273345414250</id><published>2011-07-06T11:54:00.000+05:30</published><updated>2011-07-06T11:54:29.376+05:30</updated><title type='text'>The MBA Riddle</title><summary type='text'>



So its been a while since i started working. 4 years to be exact. And i decided it is time i pondered on what kind of higher studies i should pursue. For me learning is not about having a piece of paper nicely laminated,framed and hanged in your house. Its about the learning outcome and the value i get from it. You feel this more when you have to self sponsor your studies and not depend on </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7484850273345414250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/06/mba-riddle.html#comment-form' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7484850273345414250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7484850273345414250'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/06/mba-riddle.html' title='The MBA Riddle'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-KShDXzVSkK4/TgckQCVATUI/AAAAAAAAACk/4NA3ChKzpPI/s72-c/1309090844_graduated.png' height='72' width='72'/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1458313079967410947</id><published>2011-07-03T22:16:00.004+05:30</published><updated>2011-07-11T11:29:38.604+05:30</updated><title type='text'>My two cents on Scrum</title><summary type='text'>Scrum is an agile methodology which helps companies iterate through a product/project development to successful completion. Back in the days we all know that we were limited to the water fall model which was later extended to be known as the V-Model. Gantt charts and the like were included with these methodologies.

The practices defined within these traditional methods were concise and precise. </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1458313079967410947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/my-two-cents-on-scrum.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1458313079967410947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1458313079967410947'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/my-two-cents-on-scrum.html' title='My two cents on Scrum'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8109954656455726785</id><published>2011-07-03T22:13:00.000+05:30</published><updated>2011-07-03T22:13:44.353+05:30</updated><title type='text'>Font resizing and IE</title><summary type='text'>Font Size mishaps

When it comes to declaring font size we know we have a variety of methods in order to achieve it. Few of them are as below;

1.    px – the size in number of pixels
2.    em – the size relative to the parent element
3.    in – the size in inches
4.    cm – the size in centi-meters
And a few others are there as well. On top of these there are a few keywords available to define </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8109954656455726785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/font-resizing-and-ie.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8109954656455726785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8109954656455726785'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/07/font-resizing-and-ie.html' title='Font resizing and IE'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hOTBJGX9AyA/ThCZKg_3t2I/AAAAAAAAACo/lLxwOZubJkk/s72-c/before.gif' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8701448709493605711</id><published>2011-06-22T10:22:00.000+05:30</published><updated>2011-06-22T10:24:27.564+05:30</updated><title type='text'>Local time of any country based on GMT with Java</title><summary type='text'>In a recent change request for one application i was working on, it was requested to update the time stamp a certain task was done based on the location of the user. We have a separate Country table stored which has the GMT action and the GMT off set defined in minutes.

I was searching for a way to get the local time of a certain country using the Calendar object. There were many sites that gave</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8701448709493605711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/06/local-time-of-any-country-based-on-gmt.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8701448709493605711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8701448709493605711'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/06/local-time-of-any-country-based-on-gmt.html' title='Local time of any country based on GMT with Java'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6940488693334394628</id><published>2011-05-05T15:41:00.000+05:30</published><updated>2011-05-05T15:41:35.290+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Struts annotation'/><category scheme='http://www.blogger.com/atom/ns#' term='Struts2'/><category scheme='http://www.blogger.com/atom/ns#' term='Struts 2 annotations'/><title type='text'>Struts 2 and Annotations</title><summary type='text'>Googling around i saw there wasnt any concise article explaining how to integrate Struts 2 with annotations. I will keep this as simple as possible because,well the struts developers have done some awesome work to make it as simple as they can. I will create a sample maven project showing you how to integrate struts 2.

Ok first off lets go ahead and create our maven project.Im going with a maven</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6940488693334394628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/05/struts-2-and-annotations.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6940488693334394628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6940488693334394628'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/05/struts-2-and-annotations.html' title='Struts 2 and Annotations'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5774673195980811769</id><published>2011-04-28T17:39:00.000+05:30</published><updated>2011-04-28T17:39:25.971+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAX-WS'/><category scheme='http://www.blogger.com/atom/ns#' term='jboss jaxws'/><category scheme='http://www.blogger.com/atom/ns#' term='ws-sec'/><category scheme='http://www.blogger.com/atom/ns#' term='ws-security'/><category scheme='http://www.blogger.com/atom/ns#' term='jboss ws-security'/><title type='text'>Secure your webservices with JBoss</title><summary type='text'>WS-SEC is a vast area in it self and trying to cover the whole topic in one blog post is just not possible. So ill be touching on a glimpse of it by showing you how to achieve ws-sec with Jboss with the least amount of effort.

In simplest terms WS-SEC is more or less the same as what you do when you log into a website by providing your user name and password. Only difference is in this case you </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5774673195980811769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/04/secure-your-webservices-with-jboss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5774673195980811769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5774673195980811769'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/04/secure-your-webservices-with-jboss.html' title='Secure your webservices with JBoss'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2588542255457993491</id><published>2011-03-31T16:31:00.001+05:30</published><updated>2011-03-31T16:41:28.831+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Retry Interceptor'/><category scheme='http://www.blogger.com/atom/ns#' term='Jboss Clustering'/><category scheme='http://www.blogger.com/atom/ns#' term='Cluster'/><title type='text'>JBoss clustering Quick Reference Guide</title><summary type='text'>So i was involved in clustering two JBoss instances and for some reason i had lost my guide i made for myself last time i did a clustering implementation. This time i thought ill blog it so as to keep it as a reference for myself as well as anyone who might need to quickly do JBoss Clustering as we all know how time critical all IT projects are. I will put this in a step by step approach to make </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2588542255457993491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/jboss-clustering-quick-reference-guide.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2588542255457993491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2588542255457993491'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/jboss-clustering-quick-reference-guide.html' title='JBoss clustering Quick Reference Guide'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3486392535617366725</id><published>2011-03-16T17:28:00.000+05:30</published><updated>2011-03-16T17:28:15.926+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code review'/><category scheme='http://www.blogger.com/atom/ns#' term='review code'/><title type='text'>Its time for some code review</title><summary type='text'>I know some of us just hate it when we hear the word code review. The thought of some one else going through our code is somewhat offensive to some people. I myself have come across many. But for me this is a good thing given that my reviewer knows what to look for and have a set of parameters set out as a base for him/her to review on. So in this article i would like to highlight a few mistakes </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3486392535617366725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/its-time-for-some-code-review.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3486392535617366725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3486392535617366725'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/its-time-for-some-code-review.html' title='Its time for some code review'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7569705480362788532</id><published>2011-03-05T19:34:00.002+05:30</published><updated>2011-03-05T22:02:32.298+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAR'/><category scheme='http://www.blogger.com/atom/ns#' term='Jboss EAR'/><category scheme='http://www.blogger.com/atom/ns#' term='EAR'/><title type='text'>Time to get rid of EARs</title><summary type='text'>We all know what EARs(Enteprise Archive) are. When talking about enterprise software this is a common term used where we bundle up our application with all the required JAR(Java Archive) files needed by our application at runtime. This has been done for many years and people have adapted to it. Bundling up WARs(Web Archive) inside EARs is a common practice too.

In the initial stage even our </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7569705480362788532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/time-to-get-rid-of-ears.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7569705480362788532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7569705480362788532'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/time-to-get-rid-of-ears.html' title='Time to get rid of EARs'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-dvwqzL7_kdg/TXI6VAwMJZI/AAAAAAAAACg/4SfFaOMUcaQ/s72-c/jboss_dep.jpeg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5123333757732217036</id><published>2011-03-02T10:18:00.001+05:30</published><updated>2011-03-02T10:36:15.838+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Twitter alert'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring twitter plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><title type='text'>Twitter Based Alert System</title><summary type='text'>We were in need of an alert system for our system in order to notify relevant parties of any errors which would occur in our production servers. There was already an email alert system in place but hey you have to admit no one is going to be checking emails 24x7 yea? :) ... We needed a solution like getting an SMS to our support team's phone, but we didnt have any SMS gateway available.

So </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5123333757732217036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/twitter-based-alert-system.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5123333757732217036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5123333757732217036'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/03/twitter-based-alert-system.html' title='Twitter Based Alert System'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-TZPWbRWRmVY/TW3QLWeR66I/AAAAAAAAACc/nZz8y6jXeak/s72-c/twitter_solution.jpeg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-305511246207222039</id><published>2011-02-24T13:05:00.001+05:30</published><updated>2011-02-24T13:06:51.486+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><category scheme='http://www.blogger.com/atom/ns#' term='Asynchronous'/><category scheme='http://www.blogger.com/atom/ns#' term='Async'/><title type='text'>JMS and Async, Dont mess with it</title><summary type='text'>JMS stands for Java Message Service which is an API which is used by middle ware service providers such as ActiveMQ, JBoss MQ, Rabbit MQ etc etc. Its main purpose is to allow disparate systems to communicate based on a common platform. Which means that if i have my front end written in .Net and my back end written in Java for example one way of communicating between the two (other than </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/305511246207222039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/jms-and-async-dont-mess-with-it.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/305511246207222039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/305511246207222039'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/jms-and-async-dont-mess-with-it.html' title='JMS and Async, Dont mess with it'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-282436638416469831</id><published>2011-02-16T17:28:00.002+05:30</published><updated>2011-02-16T22:04:22.946+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='IT in general'/><category scheme='http://www.blogger.com/atom/ns#' term='Life in the world of IT'/><title type='text'>Learn, Respect, Triumph</title><summary type='text'>This post is for all the new developers out there coming to the industry. Take a look at the Title of this post. Ok read it again. Ok Again. Alright now lets get going. I wanted to post something to all the new developers that come into the field of IT. I myself am not a veteran software engineer, i count a little over 4 years of experience. Wanted to share my thoughts about the new guys who come</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/282436638416469831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/learn-respect-triumph.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/282436638416469831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/282436638416469831'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/learn-respect-triumph.html' title='Learn, Respect, Triumph'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3749075731399507751</id><published>2011-02-09T12:14:00.003+05:30</published><updated>2011-02-16T16:06:00.818+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='closing div'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet Explorer cannot open the Internet site'/><category scheme='http://www.blogger.com/atom/ns#' term='ie close div'/><category scheme='http://www.blogger.com/atom/ns#' term='div closing'/><title type='text'>The problem i faced with jqGrid and IE</title><summary type='text'>Ok first of all before i start let me say this was not a problem with jqGrid or IE. I just started using jqGrid (hats off to the development team for the comprehensive documentation) in one of my projects i do in my free time. All was going well and i tested it out in IE7/8,FF2/3 and chrome. But i made a common mistake of not testing it in IE 6. When i went to deploy this at the clients </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3749075731399507751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/problem-i-faced-with-jqgrid-and-ie.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3749075731399507751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3749075731399507751'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2011/02/problem-i-faced-with-jqgrid-and-ie.html' title='The problem i faced with jqGrid and IE'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_dlItVCe9MRE/TVI1csEMUuI/AAAAAAAAACY/1VxcqZSguPU/s72-c/errmsg.gif' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8249661176575592793</id><published>2010-12-11T10:11:00.000+05:30</published><updated>2010-12-11T10:11:41.005+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical innovation'/><title type='text'>Technical innovation within a company, how do we approach it?</title><summary type='text'>What does it mean to say technology innovation within the context of a company? Is it the the ability to create the next break through innovative project? Is it about creating the next best framework for development? It can be so many things. But if you look at it, innovation should be looked at from the ground up approach. We cannot have technology innovation without first improving the skill </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8249661176575592793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/12/technical-innovation-within-company-how.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8249661176575592793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8249661176575592793'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/12/technical-innovation-within-company-how.html' title='Technical innovation within a company, how do we approach it?'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5526444113508206173</id><published>2010-12-01T15:04:00.004+05:30</published><updated>2010-12-02T06:04:31.234+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring Integration'/><category scheme='http://www.blogger.com/atom/ns#' term='Plugin architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>Plugin Based Architecture With Spring Integration</title><summary type='text'>Introduction :
                                The purpose of this article is to demonstrate that it is possible to achieve a pluggable architecture using Spring Integration and the patterns it supports. If i were to give an introduction to Spring Integration it is a fairly new addition to the spring's solutions suite. It implements most of the Enterprise Integration Patterns currently known </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5526444113508206173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/12/plugin-based-architecture-with-spring.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5526444113508206173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5526444113508206173'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/12/plugin-based-architecture-with-spring.html' title='Plugin Based Architecture With Spring Integration'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_dlItVCe9MRE/TPYKaaToNvI/AAAAAAAAAB4/n8KngfCEvP4/s72-c/system-architecture.jpeg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5091320955068584948</id><published>2010-11-26T13:12:00.000+05:30</published><updated>2010-11-26T13:12:57.671+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Criteria SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL with Hibernate Criteria'/><title type='text'>SQL with Hibernate Criteria</title><summary type='text'>Hibernate's Criteria is a very comprehensive API which provides the user alot of flexibility to write dynamic queries. But of course nothing is perfect. I came across a situation where i had to truncate a date field in order to get the correct result set without considering the time portion. While going through the Criteria API I did not find anything which allowed me to do this. And hence in the</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5091320955068584948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/11/sql-with-hibernate-criteria.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5091320955068584948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5091320955068584948'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/11/sql-with-hibernate-criteria.html' title='SQL with Hibernate Criteria'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7372144894160189768</id><published>2010-11-21T11:59:00.001+05:30</published><updated>2010-11-22T11:46:22.334+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Architectural mishaps'/><title type='text'>Why the saying "If all you have is a hammer then everything looks like a nail" is so true in the IT industry</title><summary type='text'>"If all you have is a hammer then everything looks like a nail" - Now do not ask me who quoted this or from where i found it.. I vaguely remember seeing it on one of my buddies gtalk status some time back. But the reality of this statement struck me a week back.

We had got this new project in our company. Not a major high scale project. But involved some calculations. Was very interesting. Our </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7372144894160189768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/11/why-saying-if-all-you-have-is-hammer.html#comment-form' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7372144894160189768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7372144894160189768'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/11/why-saying-if-all-you-have-is-hammer.html' title='Why the saying &quot;If all you have is a hammer then everything looks like a nail&quot; is so true in the IT industry'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4371401803330618729</id><published>2010-10-29T10:41:00.000+05:30</published><updated>2010-10-29T10:41:31.692+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML Parsing with AXIOM'/><category scheme='http://www.blogger.com/atom/ns#' term='XML parsing'/><category scheme='http://www.blogger.com/atom/ns#' term='AXIOM'/><title type='text'>XML Parsing with AXIOM</title><summary type='text'>Recently a friend of mine inquired about what the best way is to parse XML. I have to say im not an expert in this subject but from what i have read i instantly remembered that AXIOM is a pull parser which means that when you request for a particular element within your XML document push parsers will give you that exact element where as other pull parsers will build the whole XML document before </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4371401803330618729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/10/xml-parsing-with-axiom.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4371401803330618729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4371401803330618729'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/10/xml-parsing-with-axiom.html' title='XML Parsing with AXIOM'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1000611451893906587</id><published>2010-10-14T17:22:00.003+05:30</published><updated>2010-10-14T17:29:20.040+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mongo DB with Morphia'/><category scheme='http://www.blogger.com/atom/ns#' term='Mongo DB'/><title type='text'>My First Experience with MongoDB</title><summary type='text'>I know im pretty much slow to this concept of NoSQL. But nevertheless better late than never right ? :) ... So this is my first post on getting my feet wet in the world NoSQL. I have to say coming from a RDMS background it was not much hard to get my self familiar with MongoDB. Ofcourse there are a number of NoSQL implementations out there. But going through each of them MongoDB was the one i </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1000611451893906587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/10/my-first-experience-with-mongodb.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1000611451893906587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1000611451893906587'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/10/my-first-experience-with-mongodb.html' title='My First Experience with MongoDB'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_dlItVCe9MRE/TLbqoqZEEiI/AAAAAAAAABU/qBdH3KJCidI/s72-c/start_mongojpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1746827093882937198</id><published>2010-09-23T09:17:00.000+05:30</published><updated>2010-09-23T09:17:10.292+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web APIs'/><title type='text'>APIs you can use in your web site</title><summary type='text'>This article lists down some useful web APIs you can use in your day to day web site development. I found the Google chart API to be quite impressive.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1746827093882937198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/apis-you-can-use-in-your-web-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1746827093882937198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1746827093882937198'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/apis-you-can-use-in-your-web-site.html' title='APIs you can use in your web site'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6585329123627915343</id><published>2010-09-22T07:44:00.002+05:30</published><updated>2010-09-22T07:44:35.584+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hazlecast'/><title type='text'>Caching with Hazlecast using Spring</title><summary type='text'>Found an article explaining how to wire up Hazlecast caching with Spring. You can check out the article here.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6585329123627915343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/caching-with-hazlecast-using-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6585329123627915343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6585329123627915343'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/caching-with-hazlecast-using-spring.html' title='Caching with Hazlecast using Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8822790503245341314</id><published>2010-09-20T17:39:00.000+05:30</published><updated>2010-09-20T17:39:07.246+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Stored procedures with hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='SP with HBM'/><category scheme='http://www.blogger.com/atom/ns#' term='SP with hibernate'/><title type='text'>Stored procedures with hibernate</title><summary type='text'>In an earlier post i wrote up an article explaining how to call stored procedures using Spring's StoredProcedureCall template. This i believe is a very clean solution to handle all stored procedure related details. But this article is for those who already use the hibernate template and want to get things done using that without going into much details of using the Spring's StoredProcedureCall.

</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8822790503245341314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/stored-procedures-with-hibernate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8822790503245341314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8822790503245341314'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/09/stored-procedures-with-hibernate.html' title='Stored procedures with hibernate'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-964056287083112000</id><published>2010-08-30T10:17:00.000+05:30</published><updated>2010-08-30T10:17:11.853+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='aop-aspectj autoproxy'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring Transactions'/><title type='text'>Declarative Transaction Defintion With Spring</title><summary type='text'>In the current project i was working we were using spring 2.0 and was declaring transactions the old way using a ProxyFactoryBean and injecting the transaction interceptor to the Proxy. Although this works fine it just clutters your spring configuration IMO. Recently we migrated our application to Spring 3.0 and i thought we should move away from the old ways of doing things with Spring. </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/964056287083112000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/08/declarative-transaction-defintion-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/964056287083112000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/964056287083112000'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/08/declarative-transaction-defintion-with.html' title='Declarative Transaction Defintion With Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5825908674706468196</id><published>2010-07-21T09:17:00.003+05:30</published><updated>2010-07-21T09:19:16.315+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Some Cool Ubuntu Plugins to have</title><summary type='text'>Found this article giving some cool things you can use if your on Ubuntu. Check it out.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5825908674706468196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/some-cool-ubuntu-plugins-to-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5825908674706468196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5825908674706468196'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/some-cool-ubuntu-plugins-to-have.html' title='Some Cool Ubuntu Plugins to have'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5562522940641505530</id><published>2010-07-15T10:16:00.004+05:30</published><updated>2010-07-15T10:26:23.081+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring JMS'/><category scheme='http://www.blogger.com/atom/ns#' term='JMS with Spring'/><title type='text'>Running embedded JMS with Spring</title><summary type='text'>I was experimenting on how to run active mq embedded with spring so as to ease out unit testing of queues. First i looked at the doc provided in active mq but the thing is the namespace URI provided in the site was invalid and as such it didnt work right out of the box. Then i stumbled upon this  article which showed the correct namespace to include. And also you need to include xbean-spring-3.4.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5562522940641505530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/running-embedded-jms-with-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5562522940641505530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5562522940641505530'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/running-embedded-jms-with-spring.html' title='Running embedded JMS with Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1189643514157762215</id><published>2010-07-02T11:42:00.005+05:30</published><updated>2010-07-02T12:11:33.767+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Using HibernateDAOSupport'/><title type='text'>An Abstraction to use HibernateDAOSupport</title><summary type='text'>In this post i would like to share with you guys on this DAO abstraction i have created by using HibernateDAOSupport for the previously mentioned development framework im currently creating. First of all i start with defining my BaseDAO.package com.dyna.frm.commons.dao;import java.io.Serializable;import org.springframework.transaction.annotation.Propagation;import </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1189643514157762215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/abstraction-to-use-hibernatedaosupport.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1189643514157762215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1189643514157762215'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/07/abstraction-to-use-hibernatedaosupport.html' title='An Abstraction to use HibernateDAOSupport'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5558952922591366948</id><published>2010-06-30T13:02:00.004+05:30</published><updated>2010-06-30T13:10:50.950+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='packagesToScan'/><category scheme='http://www.blogger.com/atom/ns#' term='AnnotationSessionFactoryBean'/><title type='text'>Hibernate's AnnotationSessionFactoryBean</title><summary type='text'>These days im a bit busy with creating a new framework to be used for development of enterprise projects. I was using the hibernate template to deal with all database related activity and used the HibernateDAOSupport class as well. When configuring it at first i found it to be very cumbersome because you have to specify each and every annotated class within its configuration as such;&lt;bean id="</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5558952922591366948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/hibernates-annotationsessionfactorybean.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5558952922591366948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5558952922591366948'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/hibernates-annotationsessionfactorybean.html' title='Hibernate&apos;s AnnotationSessionFactoryBean'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6578767528968452189</id><published>2010-06-23T06:59:00.001+05:30</published><updated>2010-06-23T07:00:33.393+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML Tags'/><title type='text'>Some HTML Tags We Rarely Use</title><summary type='text'>Found this article on some of the HTML tags we rarely use which is useful in come occasions. Check this out.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6578767528968452189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/some-html-tags-we-rarely-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6578767528968452189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6578767528968452189'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/some-html-tags-we-rarely-use.html' title='Some HTML Tags We Rarely Use'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2966190397165470199</id><published>2010-06-18T07:30:00.001+05:30</published><updated>2010-06-18T07:32:24.773+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script Charting'/><title type='text'>Java Script Charting Framework</title><summary type='text'>Found this site on dZone giving developers a powerful java script charting framework to work with.. I will definitely be trying this out as it feels much richer than JFree Chart...</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2966190397165470199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/java-script-charting-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2966190397165470199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2966190397165470199'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/java-script-charting-framework.html' title='Java Script Charting Framework'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7387701775628822750</id><published>2010-06-17T12:02:00.005+05:30</published><updated>2010-06-17T12:48:13.603+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring AOP'/><category scheme='http://www.blogger.com/atom/ns#' term='AOP with Spring'/><title type='text'>AOP with Spring</title><summary type='text'>One thing to note about Spring AOP is that it does runtime weaving of aspects compared to AspectJ's compile time weaving. The good thing is you can define your aspects as java classes without having to learn yet another expression language if you were to use AspectJ. Ok here i just put together a small application to show how easy it is to set up aspects within your Spring applcation.First of all</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7387701775628822750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/aop-with-spring.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7387701775628822750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7387701775628822750'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/aop-with-spring.html' title='AOP with Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7511293151850662848</id><published>2010-06-16T19:41:00.002+05:30</published><updated>2010-06-16T20:32:44.293+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring Customer Editors'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>Defining Custom Editors With Spring</title><summary type='text'>Custom editors gives you a lot of flexibility and reduces XML configuration when defining your spring beans. Say for example i have the following Person object;public class Person { private String firstName;  private String lastName;  private int age; public String getFirstName() {  return firstName; } public void setFirstName(String firstName) {  this.firstName = firstName; } public String </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7511293151850662848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/defining-custom-editors-with-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7511293151850662848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7511293151850662848'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/defining-custom-editors-with-spring.html' title='Defining Custom Editors With Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4915921993715929538</id><published>2010-06-10T08:37:00.003+05:30</published><updated>2010-06-10T08:55:04.407+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Json Util'/><category scheme='http://www.blogger.com/atom/ns#' term='Gson'/><title type='text'>A Simple Json Utility Class Using Gson</title><summary type='text'>In my current project we planned to go with Gson(Google's json manipulating library) to handle out json manipulation within our application. Hence i wrote this small utility class to ease the use of Gson within the project.import com.google.gson.Gson;import com.google.gson.GsonBuilder;/** * This class is used as a Json utility. The base functionality comes from the Gson&lt;br&gt; * package from Google.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4915921993715929538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/simple-json-utility-class-using-gson.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4915921993715929538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4915921993715929538'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/simple-json-utility-class-using-gson.html' title='A Simple Json Utility Class Using Gson'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8203010031734406864</id><published>2010-06-03T09:06:00.004+05:30</published><updated>2010-06-03T09:09:22.280+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Classpath nightmare'/><category scheme='http://www.blogger.com/atom/ns#' term='Class path issue in java'/><title type='text'>How to solve Classpath nightmare in java</title><summary type='text'>Have you ever come across a situation where you modify a class and when you run it you do not see the changes you just committed? Most probably in most cases the issue lies with an older .class file being loaded in from another jar which overrides your current jar. This is definitely a debugging night mare.Fortunately in java you can find out from which location your class file is loaded from. </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8203010031734406864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/how-to-solve-classpath-nightmare-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8203010031734406864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8203010031734406864'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/how-to-solve-classpath-nightmare-in.html' title='How to solve Classpath nightmare in java'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2723370634090839871</id><published>2010-06-02T12:22:00.001+05:30</published><updated>2010-06-02T12:23:52.639+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Free Icons'/><title type='text'>Free icons for your project</title><summary type='text'>Check this out. Gives a wide variety of free icons you can use in your projects.Cheers</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2723370634090839871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/free-icons-for-your-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2723370634090839871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2723370634090839871'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/06/free-icons-for-your-project.html' title='Free icons for your project'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1859877364865008950</id><published>2010-05-31T09:07:00.002+05:30</published><updated>2010-05-31T09:09:05.375+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jLayout'/><title type='text'>jLayout provides Swing like Layouts in JS</title><summary type='text'>Found a javascript library called jLayout which provides layout capabilities that is similar to Java's Swing library. Most of the names used are evn similar. Pretty cool i must say. Hoping to try it out in the coming days. Check it out....</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1859877364865008950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/jlayout-provides-swing-like-layouts-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1859877364865008950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1859877364865008950'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/jlayout-provides-swing-like-layouts-in.html' title='jLayout provides Swing like Layouts in JS'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2625931172750135165</id><published>2010-05-28T19:17:00.002+05:30</published><updated>2010-05-28T19:18:11.131+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML-XSD converter'/><title type='text'>Online XML to XSD converter</title><summary type='text'>Found an online tool which can generator xsd from a given sample XML doc. Can be found here.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2625931172750135165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/online-xml-to-xsd-converter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2625931172750135165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2625931172750135165'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/online-xml-to-xsd-converter.html' title='Online XML to XSD converter'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5709028792150006856</id><published>2010-05-21T09:18:00.002+05:30</published><updated>2010-05-21T09:36:32.082+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring Component'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring Autowired'/><title type='text'>Spring - How to use Component and Autowired</title><summary type='text'>Just put together a sample which made me understand how to use the above mentioned annotations defined by Spring hence thought i should blog about the same.First lets take a look at the two classes that are exposed as spring beans.package chapter3;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Component;@Component("calculator")public class </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5709028792150006856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/spring-how-to-use-component-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5709028792150006856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5709028792150006856'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/spring-how-to-use-component-and.html' title='Spring - How to use Component and Autowired'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2788554092190575854</id><published>2010-05-21T08:54:00.001+05:30</published><updated>2010-05-21T08:55:20.351+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>For all your CSS needs</title><summary type='text'>Check this out. Has so many tutorials and designs that you can use or just learn the true power of CSS. Great site.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2788554092190575854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/for-all-your-css-needs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2788554092190575854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2788554092190575854'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/for-all-your-css-needs.html' title='For all your CSS needs'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4627599232296021876</id><published>2010-05-20T08:54:00.002+05:30</published><updated>2010-05-20T09:06:04.455+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='List Iterator'/><title type='text'>ListIterator in Java</title><summary type='text'>Learned about this just now and thought ill blog about it for any one else who might find it useful. We normally use the default iterator to traverse through any collection. But have you ever needed to traverse backwards and forward? Or maybe add an element to a location while traversing. Then the answer is to use the ListIterator interaface while allows you to carry out such tasks.Check out the </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4627599232296021876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/listiterator-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4627599232296021876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4627599232296021876'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/listiterator-in-java.html' title='ListIterator in Java'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4115673872184788929</id><published>2010-05-17T14:51:00.004+05:30</published><updated>2010-05-17T15:38:47.940+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Stored proc with Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring StoredProecedureCall'/><title type='text'>Stored proc with ease with Spring</title><summary type='text'>Our current project was doing stored proc calls natively using SQL which in my opinion was very cumbersome and error prone and unable to extend without ease. While going through the Spring documentation i saw that they provide an abstraction for calling Stored procedures. Hence in this aricle i will explain step by step how i integrated Spring's Stored proc capability.First create a class that </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4115673872184788929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/stored-proc-with-ease-with-spring.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4115673872184788929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4115673872184788929'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/stored-proc-with-ease-with-spring.html' title='Stored proc with ease with Spring'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1860376480263984687</id><published>2010-05-17T14:24:00.002+05:30</published><updated>2010-05-17T14:33:42.893+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Class Not found org.jaxen.VariableContext'/><category scheme='http://www.blogger.com/atom/ns#' term='org.jaxen.VariableContext'/><title type='text'>Serialize with care</title><summary type='text'>To think serialization meant just implementing the Marker interface Serializable and just get on with life as usual. As if it would be that easy. What fun would that be right? So today i was breaking my web services to a separate EAR because of the need to load balance and fail over web services. In that i had an exception which was propagated from the EJB layer which was remotely deployed. It </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1860376480263984687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/serialize-with-care.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1860376480263984687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1860376480263984687'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/serialize-with-care.html' title='Serialize with care'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7144059788458914013</id><published>2010-05-17T14:10:00.003+05:30</published><updated>2010-05-17T14:19:08.351+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections API'/><category scheme='http://www.blogger.com/atom/ns#' term='Arrays.asList()'/><title type='text'>Use Arrays.asList() method with caution</title><summary type='text'>Hey guys,Been a while since the last post. Work has been hectic and i wasnt really in the mood to blog. My apologies. So getting along with it. I just got to know this interesting detail about java's Arrays.asList() method. If you go through the source code you will find out that it will not give you an implementation of the ArrayList class. Because it has an anonymous inner implmentation of the </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7144059788458914013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/use-arraysaslist-method-with-caution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7144059788458914013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7144059788458914013'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/05/use-arraysaslist-method-with-caution.html' title='Use Arrays.asList() method with caution'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7949571448906983703</id><published>2010-04-20T09:00:00.001+05:30</published><updated>2010-04-20T09:01:44.535+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Products for web sites'/><title type='text'>Must have Google product for website development</title><summary type='text'>Here is an article listing down the top most used google products for web site development</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7949571448906983703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/04/must-have-google-product-for-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7949571448906983703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7949571448906983703'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/04/must-have-google-product-for-website.html' title='Must have Google product for website development'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6069161243242007125</id><published>2010-04-20T08:59:00.002+05:30</published><updated>2010-04-20T09:00:39.843+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Objects'/><category scheme='http://www.blogger.com/atom/ns#' term='Memory Structure'/><title type='text'>Java object memory structure</title><summary type='text'>Found an interesting article explaining how to calculate how much memory your java object takes on the heap and the structure of an object.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6069161243242007125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/04/java-object-memory-structure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6069161243242007125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6069161243242007125'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/04/java-object-memory-structure.html' title='Java object memory structure'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3603707188941804690</id><published>2010-02-24T10:29:00.003+05:30</published><updated>2010-02-24T10:36:35.843+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java NIO'/><title type='text'>Copying files in Java using NIO</title><summary type='text'>Read an article on Java IO and found out that rather than using the normal stream reader classes in Java we can use the Java NIO api which does native I/O operations rather than going throught he java memory model which significatly improves I/O calls performance. Following is an example i got from that article showing how you can do a simply file copy ;String orig ="file.xml";String dest = "</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3603707188941804690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/copying-files-in-java-using-nio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3603707188941804690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3603707188941804690'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/copying-files-in-java-using-nio.html' title='Copying files in Java using NIO'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6991246694640515390</id><published>2010-02-05T08:37:00.001+05:30</published><updated>2010-02-05T08:37:07.215+05:30</updated><title type='text'>Installing the Firefox JRE Plugin on Ubuntu</title><summary type='text'>For sometime i have been trying to make applets work with firefix running on Ubuntu. It always failed saying cannot find plugin. Today when googling around vola i find the answer in the following post    http://daveshuck.instantspot.com/blog/2008/01/18/Installing-the-JRE-plugin-in-Firefox-on-Ubuntu/   Now applets are loading perfectly on firefox on Ubuntu.        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6991246694640515390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/installing-firefox-jre-plugin-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6991246694640515390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6991246694640515390'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/installing-firefox-jre-plugin-on-ubuntu.html' title='Installing the Firefox JRE Plugin on Ubuntu'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-667851088966875026</id><published>2010-02-03T08:47:00.003+05:30</published><updated>2010-02-03T08:49:56.579+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse Project to Java project'/><title type='text'>Want to change your normal eclipse project to a java project?</title><summary type='text'>Look no further, it is clearyly explainged here on how to change your current project type to a java project. Given to me by a collegue of mine which i thought was useful enough to blog about. Btw guys look forward to some blogs relating to stored procs with Spring as well as JBOss clustering simplified... Thats the coming attractions for now ;) ...Cheers</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/667851088966875026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/want-to-change-your-normal-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/667851088966875026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/667851088966875026'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/02/want-to-change-your-normal-eclipse.html' title='Want to change your normal eclipse project to a java project?'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5779929146187126639</id><published>2010-01-21T12:43:00.002+05:30</published><updated>2010-01-21T12:48:20.170+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JPA and Enum'/><category scheme='http://www.blogger.com/atom/ns#' term='Enums'/><title type='text'>A safer way to map your enums to the DB</title><summary type='text'>The following post explaing how to map your enums safely to the database. I personally think this is a great idea proposed. Requires few extra lines of coding, but maintains data intergrity.http://www.vineetmanohar.com/2010/01/11/3-ways-to-serialize-java-enums/</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5779929146187126639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/safer-way-to-map-your-enums-to-db.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5779929146187126639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5779929146187126639'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/safer-way-to-map-your-enums-to-db.html' title='A safer way to map your enums to the DB'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2676714986277035771</id><published>2010-01-21T11:27:00.002+05:30</published><updated>2010-01-21T11:48:00.767+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data URI'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP Request'/><title type='text'>Less HTTP Requests Better Reponse</title><summary type='text'>Have you ever used background-image url in your css? if so you know that each one means another HTTP request. To resolve this issue you can use data uri which encodes the image as base64. Only downside of this is that it is not supported in IE versions lesser than 8. The following URL shows how you can accomplish this.http://robertnyman.com/2010/01/15/how-to-reduce-the-number-of-http-requests/</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2676714986277035771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/less-http-requests-better-reponse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2676714986277035771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2676714986277035771'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/less-http-requests-better-reponse.html' title='Less HTTP Requests Better Reponse'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7637307882634061055</id><published>2010-01-01T19:49:00.003+05:30</published><updated>2010-01-01T19:51:12.934+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery plugins'/><category scheme='http://www.blogger.com/atom/ns#' term='Marquee'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery UI'/><title type='text'>Specially For JQuery UI Fans</title><summary type='text'>Going through some articles found a some what useful article describing some of the useful jQuery UI plugins which every developer would come across. I for a fact never knew jQuery supported the marquee tag which is quite obsolete now but yet supported by all current browser. The article can be found here.Cheers</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7637307882634061055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/specially-for-jquery-ui-fans.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7637307882634061055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7637307882634061055'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2010/01/specially-for-jquery-ui-fans.html' title='Specially For JQuery UI Fans'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5864114009042370021</id><published>2009-12-30T13:27:00.004+05:30</published><updated>2009-12-31T19:58:37.778+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Decompiler'/><category scheme='http://www.blogger.com/atom/ns#' term='JD'/><title type='text'>A cool java decompliler for Eclipse</title><summary type='text'>Found a pretty cool java decompiler for eclipse. Can be found  here.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5864114009042370021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/12/cool-java-decompliler-for-eclipse.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5864114009042370021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5864114009042370021'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/12/cool-java-decompliler-for-eclipse.html' title='A cool java decompliler for Eclipse'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8676635705754713110</id><published>2009-11-30T11:54:00.000+05:30</published><updated>2009-11-30T11:56:51.525+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery tips'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery Tips and validations</title><summary type='text'>Article 1Aricle 2Article 3</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8676635705754713110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/jquery-tips-and-validations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8676635705754713110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8676635705754713110'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/jquery-tips-and-validations.html' title='jQuery Tips and validations'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2297848974936182148</id><published>2009-11-30T11:13:00.001+05:30</published><updated>2009-11-30T11:13:38.054+05:30</updated><title type='text'>Firfox performance tuning tips</title><summary type='text'>DZone had this amazing article on how to improve the performance of firefox. Give it a try guys...   http://webanthology.net/all-you-need-to-optimize-firefox-for-better-performance-33-tips/2009/11/29/        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2297848974936182148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/firfox-performance-tuning-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2297848974936182148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2297848974936182148'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/firfox-performance-tuning-tips.html' title='Firfox performance tuning tips'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-316149240789105128</id><published>2009-11-20T16:23:00.001+05:30</published><updated>2009-11-20T16:24:53.501+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>Some useful yet basic CSS</title><summary type='text'>http://www.webdesignerwall.com/tutorials/5-simple-but-useful-css-properties/It might be some basic ones but sure has some day to day useful CSS functionality clearly explained.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/316149240789105128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/some-useful-yet-basic-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/316149240789105128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/316149240789105128'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/some-useful-yet-basic-css.html' title='Some useful yet basic CSS'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2847999056712925058</id><published>2009-11-20T16:15:00.003+05:30</published><updated>2009-11-20T16:20:11.067+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Power Mock'/><title type='text'>Want to unit test your Statis classes? Power Mock to the Rescue</title><summary type='text'>While reading through some articles on dzone i stumbled upon this google project which allows you to test your static methods. Now i have used easy mock which i integrated to our current project. But easy mock does not allow you to test static classes. It basically creates mock methods based on the interface you pass into it. This on the other hand will allow you to test your static methods which</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2847999056712925058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/want-to-unit-test-your-statis-classes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2847999056712925058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2847999056712925058'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/want-to-unit-test-your-statis-classes.html' title='Want to unit test your Statis classes? Power Mock to the Rescue'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7211333819949075378</id><published>2009-11-18T09:37:00.002+05:30</published><updated>2009-11-18T09:42:01.321+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JS'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery best practices and common mistakes</title><summary type='text'>From recent times i have had a passion to learn jQuery which is the much talked about Java Script framework these days. Today i found these few articles which exlaines common mistakes we make when coding through jQuery and how to avoid them. I also found a pretty valuable piece of software called dynaTrance which allows you to monitor Ajax performance and find bottle necks just like profiling in </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7211333819949075378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/jquery-best-practices-and-common.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7211333819949075378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7211333819949075378'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/jquery-best-practices-and-common.html' title='jQuery best practices and common mistakes'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1832847905382958912</id><published>2009-11-12T16:31:00.004+05:30</published><updated>2009-11-12T16:40:42.938+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Marquee'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML tag'/><category scheme='http://www.blogger.com/atom/ns#' term='Marquee HTML tag'/><title type='text'>Marquee HTML tag</title><summary type='text'>I was in need of doing a page which had a table to which content was written dynamically and with the need of horizontally manuvering it within the page. There were many help online but using varous JS frameworks. I did not want to be bombarded with frameworks as this was just a small thing. Luckly a colleuge of mine who is a major UI guru told me of the marquee html tag which allows me to </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1832847905382958912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/marquee-html-tag.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1832847905382958912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1832847905382958912'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/11/marquee-html-tag.html' title='Marquee HTML tag'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3378317762599457038</id><published>2009-10-30T10:15:00.003+05:30</published><updated>2009-11-02T17:38:15.026+05:30</updated><title type='text'>New MQ Released by JBoss</title><summary type='text'>JBoss has released a Message Oriented Middleware component which also supports JMS 1.1 and is highly scalable with load balancing capabilities. More info can be found at the below link;   http://jboss.org/hornetq   Should give it a try and see. If any of you guys have already used it please share your thoughts about this product.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3378317762599457038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/new-mq-released-by-jboss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3378317762599457038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3378317762599457038'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/new-mq-released-by-jboss.html' title='New MQ Released by JBoss'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4039289886398076328</id><published>2009-10-16T08:57:00.001+05:30</published><updated>2009-10-16T08:57:14.943+05:30</updated><title type='text'>InteliJ IDEA goes open source</title><summary type='text'>This is superb news to all developers. Always loved developing in this editor and finally they have release a community edition. Superb. You can download it at the following link;   http://www.jetbrains.com/idea/nextversion/free_java_ide.html?utm_source=twitter&amp;utm_medium=Announce&amp;utm_campaign=IDEA9_CE Happy developing every body :D        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4039289886398076328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/intelij-idea-goes-open-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4039289886398076328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4039289886398076328'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/intelij-idea-goes-open-source.html' title='InteliJ IDEA goes open source'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-2512127761674653715</id><published>2009-10-06T08:58:00.010+05:30</published><updated>2009-10-07T10:28:07.480+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JBoss Caching'/><title type='text'>JBoss Caching Integration</title><summary type='text'>JBoss caching is a very powerful caching mechanism developed and as far as i know this is the only Tree Cache implementation currently available. If i give a briefing on what caching is all about, caching allows you to minmize the time you go to the database to fetch data. We all know how costly database access is, and caching allows us to minmize those calls by caching the results fetched from </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/2512127761674653715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/jboss-caching-integration.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2512127761674653715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/2512127761674653715'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/jboss-caching-integration.html' title='JBoss Caching Integration'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-95275538185181483</id><published>2009-10-05T16:23:00.001+05:30</published><updated>2009-10-05T16:23:18.679+05:30</updated><title type='text'>Few SQL Select Tips</title><summary type='text'>Was working on a Jasper report and i was able to learn some new SQL select options which i didnt know of and thought to share it with  you guys.   1. To concatinate fields to one column use the following;       SELECT a.last_name || ' ' || a.first_name || ' '  as pax_name from Passenger a   2. To put a condition within the select statement use the following;     SELECT  a.checking_sequence_number</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/95275538185181483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/few-sql-select-tips.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/95275538185181483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/95275538185181483'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/10/few-sql-select-tips.html' title='Few SQL Select Tips'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-644866027359575932</id><published>2009-09-29T17:08:00.002+05:30</published><updated>2009-09-29T17:10:21.014+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Primitive types in collections'/><title type='text'>An API to store primitive types in Collections</title><summary type='text'>Found a project on source forge which allows you to store primitive data types within collections. What this does is consume less memory. You can find the project at the following link.http://trove4j.sourceforge.net/</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/644866027359575932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/api-to-store-primitive-types-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/644866027359575932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/644866027359575932'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/api-to-store-primitive-types-in.html' title='An API to store primitive types in Collections'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1130169560475961979</id><published>2009-09-29T11:31:00.003+05:30</published><updated>2009-12-17T08:27:42.038+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spring Mail'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>Spring Mail API Wrapper</title><summary type='text'>Recently it was needed at my working place to have a module to send SMTP mails. I found out that Spring provides a nice wrapper around the Java Mail API so you do not need to deal with boilerplate code. Hence after a few hours of Googling and coding I was able to come up with an API which sends mail using Spring. Following I give you the code snippets required.package </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1130169560475961979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/spring-mail-api-wrapper.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1130169560475961979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1130169560475961979'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/spring-mail-api-wrapper.html' title='Spring Mail API Wrapper'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4531520905235059803</id><published>2009-09-21T13:50:00.006+05:30</published><updated>2009-09-29T11:30:47.449+05:30</updated><title type='text'>A replace all string function for javascript</title><summary type='text'>function replaceAll(strVal){ var regEx = /test/g; return strVal.replace(regEx,"test1"); } What this does is replace all words "test" with "test1". If you do not want to add it globally and only want a replaceFirst method then just removed the letter "g" appended to the end of the "regEx" variable. That letter is the one that says to apply the regex globally.</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4531520905235059803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/replace-all-string-function-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4531520905235059803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4531520905235059803'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/replace-all-string-function-for.html' title='A replace all string function for javascript'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3865319240261389941</id><published>2009-09-18T14:10:00.001+05:30</published><updated>2009-09-18T14:10:52.660+05:30</updated><title type='text'>Adding / Removing Options In A Combo Box</title><summary type='text'>This JS function removed all options in a combo box except the first entry. If you want to remove the first entry as well then change the i&gt;0 to i&gt;=0function removeExistingOptions(selBox){                          var i;          for (i = selBox.length - 1; i&gt;0; i--) {              selBox.remove(i);          }}The following function adds options to an existing combo box.function addOptions(selBox</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3865319240261389941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/adding-removing-options-in-combo-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3865319240261389941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3865319240261389941'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/adding-removing-options-in-combo-box.html' title='Adding / Removing Options In A Combo Box'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-9091875392649500179</id><published>2009-09-18T12:13:00.001+05:30</published><updated>2009-09-18T12:13:25.233+05:30</updated><title type='text'>DOM Manipulation In Tables</title><summary type='text'>I was playing around with DOM manipulations in html tables and i wanted to add and remove table rows dynamically. In the end with the help of W3C school i was able to come up with a solution. Below is what i came up with in the end.                var msgDetailsTable = document.getElementById("msgTable");                msgDetailsTable.deleteRow(1);                var x = </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/9091875392649500179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/dom-manipulation-in-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/9091875392649500179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/9091875392649500179'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/dom-manipulation-in-tables.html' title='DOM Manipulation In Tables'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7086840734141029806</id><published>2009-09-17T12:17:00.001+05:30</published><updated>2009-09-17T12:17:57.412+05:30</updated><title type='text'>How to install jvmstat on linux</title><summary type='text'>To install jvmstat on linux follow the below instructions;1. Create a directory where you want to install jvmstat2. Download jvmstat from http://developers.sun.com/dev/coolstuff/jvmstat/3. Unzip the distribution to the directory you created in the first step.4. Change your PATH settings as follows; PATH=$PATH:/path_to_your_unziped_distribution/bin5. Set the environment variable: export </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7086840734141029806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/how-to-install-jvmstat-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7086840734141029806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7086840734141029806'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/how-to-install-jvmstat-on-linux.html' title='How to install jvmstat on linux'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6796204968686219276</id><published>2009-09-17T11:29:00.001+05:30</published><updated>2009-09-17T11:29:05.058+05:30</updated><title type='text'>A nice Garbage collection monitoring tool</title><summary type='text'>http://www.unixville.com/~moazam/stories/2004/05/18/visualizingGarbageCollection.htmljvmstat and visualgc is used to monitor application's Garbage collection. A very useful combination of tools to find memory leaks and the sort as I see it.        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6796204968686219276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/nice-garbage-collection-monitoring-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6796204968686219276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6796204968686219276'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/nice-garbage-collection-monitoring-tool.html' title='A nice Garbage collection monitoring tool'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6084194127203962497</id><published>2009-09-17T10:21:00.003+05:30</published><updated>2009-09-17T10:29:54.843+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Heap'/><category scheme='http://www.blogger.com/atom/ns#' term='Stack'/><category scheme='http://www.blogger.com/atom/ns#' term='JVM'/><title type='text'>The JVM and how it handles stack and heap spaces</title><summary type='text'>A recent discussion was going on about whether we should be using variables with a for loop or not. Going on those lines i stumbled upon a few articles explaining about the same.http://rmathew.blogspot.com/2007/01/local-variables-in-java.htmlhttp://www.coderanch.com/t/416620/Beginning-Java/java/What-stored-Stack-Heaphttp://forums.sun.com/thread.jspa?messageID=2406140A key point noted in the first</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6084194127203962497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jvm-and-how-it-handles-stack-and-heap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6084194127203962497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6084194127203962497'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jvm-and-how-it-handles-stack-and-heap.html' title='The JVM and how it handles stack and heap spaces'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3289270316936071497</id><published>2009-09-15T16:13:00.001+05:30</published><updated>2009-09-15T16:13:31.460+05:30</updated><title type='text'>Java init blocks and static blocks</title><summary type='text'>http://sanaulla.wordpress.com/2008/05/01/initialisation-blocks-in-java/Shows how to define static and init blocks in your class files.          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3289270316936071497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-init-blocks-and-static-blocks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3289270316936071497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3289270316936071497'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-init-blocks-and-static-blocks.html' title='Java init blocks and static blocks'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4695589449755060844</id><published>2009-09-15T15:49:00.000+05:30</published><updated>2009-09-15T15:50:09.782+05:30</updated><title type='text'>Java Anti-Patterns</title><summary type='text'>Shows the common mistakes we make sometimes when coding. A must read for every developer IMO.http://www.odi.ch/prog/design/newbies.php#0        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4695589449755060844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-anti-patterns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4695589449755060844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4695589449755060844'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-anti-patterns.html' title='Java Anti-Patterns'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7711225500946517647</id><published>2009-09-11T17:38:00.001+05:30</published><updated>2009-09-11T17:38:30.762+05:30</updated><title type='text'>Java is always pass by value</title><summary type='text'>Interestingly enough after 2 years in the IT industry only today i knew that java was always pass by value. Meaning even if you pass an object to a method basically a copy of the value of the reference(basically the memory address) is passed to the method. The below article elbaorates on this even more.http://www.javacertificate.net/passbyvalue.htm          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7711225500946517647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-is-always-pass-by-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7711225500946517647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7711225500946517647'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-is-always-pass-by-value.html' title='Java is always pass by value'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6362679217668677925</id><published>2009-09-11T12:04:00.001+05:30</published><updated>2009-09-11T12:04:52.930+05:30</updated><title type='text'>CVS code commenting templates in eclipse</title><summary type='text'>This article explains how you can integrate some code commenting templates which you can use when committing your code to CVS. Pretty useful.http://www.eclipsezone.com/eclipse/forums/t54631.html          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6362679217668677925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/cvs-code-commenting-templates-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6362679217668677925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6362679217668677925'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/cvs-code-commenting-templates-in.html' title='CVS code commenting templates in eclipse'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5320157472731410116</id><published>2009-09-09T16:46:00.000+05:30</published><updated>2009-09-09T16:52:42.903+05:30</updated><title type='text'>JBoss perfomance Tuning Tips</title><summary type='text'>Found a really nice article explaining how you can tweak your JBoss instance in order to get maximum performance.http://www.mastertheboss.com/en/jboss-application-server/113-jboss-performance-tuning-1.html        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5320157472731410116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jboss-perfomance-tuning-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5320157472731410116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5320157472731410116'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jboss-perfomance-tuning-tips.html' title='JBoss perfomance Tuning Tips'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-483666717942260478</id><published>2009-09-08T09:59:00.001+05:30</published><updated>2009-09-08T09:59:28.778+05:30</updated><title type='text'>Java Heap Size Vs Native Memory Space</title><summary type='text'>Found a pretty interesting article explaing what causes out of memory exceptions to fire, how java heap space and native memory is used by an application.http://www.ibm.com/developerworks/linux/library/j-nativememory-linux/index.html        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/483666717942260478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-heap-size-vs-native-memory-space.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/483666717942260478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/483666717942260478'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/java-heap-size-vs-native-memory-space.html' title='Java Heap Size Vs Native Memory Space'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4024983632696904993</id><published>2009-09-05T19:35:00.006+05:30</published><updated>2009-09-08T10:20:09.402+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='EasyMock'/><category scheme='http://www.blogger.com/atom/ns#' term='Easy Mock'/><category scheme='http://www.blogger.com/atom/ns#' term='Test driven development'/><category scheme='http://www.blogger.com/atom/ns#' term='TDD'/><title type='text'>Test Driven Development (TDD)</title><summary type='text'>Been reading a bit on TDD recently and for some reason it has caught my attention. This is not something i have done ever in my kind of short carrier in IT :). But its a new concept for me and i kind of like how it looks at software developement. Hence it got my attetion.What TDD specifies is you write your unit test class first. You define the classes you may need. Of course at first your test </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4024983632696904993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/test-driven-development-tdd_05.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4024983632696904993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4024983632696904993'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/test-driven-development-tdd_05.html' title='Test Driven Development (TDD)'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4725417221590740532</id><published>2009-09-03T16:30:00.003+05:30</published><updated>2009-09-03T16:32:04.531+05:30</updated><title type='text'>Terminator. A must have tool for developers on linux</title><summary type='text'>Pretty awesome tool which is able to open multiple command lines in one terminal. It increases productivity at least in a very small way and if you are running multiple servers at the same time this is a must have tool.http://www.ubuntugeek.com/terminator-multiple-gnome-terminals-in-one-window.html</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4725417221590740532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/terminator-must-have-tool-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4725417221590740532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4725417221590740532'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/terminator-must-have-tool-for.html' title='Terminator. A must have tool for developers on linux'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-81824954655206874</id><published>2009-09-03T15:32:00.000+05:30</published><updated>2009-09-03T15:33:09.905+05:30</updated><title type='text'>Linux Permissions</title><summary type='text'>In linux the way we usually give permissions is by providing the command chmod 777 yourfile. This gives everyone read,write and execution privileges. But there is a better way to give permissions. Its as follows;    chmod u=rx file        (Give the owner rx permissions, not w)        chmod go-rwx file      (Deny rwx permission for group, others)    chmod g+w file         (Give write permission to</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/81824954655206874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/linux-permissions_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/81824954655206874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/81824954655206874'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/linux-permissions_03.html' title='Linux Permissions'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-7438886476847550188</id><published>2009-09-03T15:23:00.000+05:30</published><updated>2009-09-03T15:50:30.181+05:30</updated><title type='text'>Singlish Converter</title><summary type='text'>Pretty cool tool to convert English to Sinhala. Have fun;http://www.ucsc.cmb.ac.lk/ltrl/services/feconverter/t1.html          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/7438886476847550188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/singlish-converter_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7438886476847550188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/7438886476847550188'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/singlish-converter_03.html' title='Singlish Converter'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-382824183042621390</id><published>2009-09-03T15:22:00.000+05:30</published><updated>2009-09-03T15:49:08.904+05:30</updated><title type='text'>Connect to other Linux machines with SSH and no password</title><summary type='text'>Check out this link which explains how you can ssh into a machine withouth providing the password.http://www.go2linux.org/ssh-login-using-no-password          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/382824183042621390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/connect-to-other-linux-machines-with_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/382824183042621390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/382824183042621390'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/connect-to-other-linux-machines-with_03.html' title='Connect to other Linux machines with SSH and no password'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8340293360556067839</id><published>2009-09-03T11:46:00.001+05:30</published><updated>2009-09-03T11:46:42.678+05:30</updated><title type='text'>A JS Framework for application development</title><summary type='text'>Found a really nice JS Framework to support application development. Can be found athttp://cappuccino.orgIts under LGPL as well. One important note in their site is abt JQuery."Cappuccino is not designed for building web sites, or making existing sites more "dynamic". We think these goals are too far removed from those of application development to be served well by a single framework. Projects </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8340293360556067839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/js-framework-for-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8340293360556067839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8340293360556067839'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/js-framework-for-application.html' title='A JS Framework for application development'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6266364567181607886</id><published>2009-09-02T17:11:00.001+05:30</published><updated>2009-09-02T17:11:38.156+05:30</updated><title type='text'>Some useful Eclipse Templates</title><summary type='text'>Found an aritcle describing some useful eclipse code templates. One thing which i found pretty useful was putting the isDebugEnabled check when doing debug level logging. The link can be found below;http://eclipse.dzone.com/articles/useful-eclipse-code-templates          </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6266364567181607886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/some-useful-eclipse-templates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6266364567181607886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6266364567181607886'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/some-useful-eclipse-templates.html' title='Some useful Eclipse Templates'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5541577237925582837</id><published>2009-09-01T09:13:00.004+05:30</published><updated>2009-09-01T09:21:03.067+05:30</updated><title type='text'>JBoss and log4j</title><summary type='text'>Recently I got the following error when deploying my JBoss Application.log4j:ERROR Could not instantiate class [org.jboss.logging.util.OnlyOnceErrorHandler].java.lang.ClassNotFoundException: org.jboss.logging.util.OnlyOnceErrorHandlerTo see the problem was that the log4j and commons-logging jars which were already in JBoss was conflicting with the Jars I had on my war distribution. It was easily </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5541577237925582837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jboss-and-log4j.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5541577237925582837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5541577237925582837'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/09/jboss-and-log4j.html' title='JBoss and log4j'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3506509335616143054</id><published>2009-08-28T13:23:00.001+05:30</published><updated>2009-08-28T13:23:08.116+05:30</updated><title type='text'>Cool memory analysing tool for eclipse</title><summary type='text'>Found a pretty cool tool to analyse heap dump files from within eclipse called Memory Analyzer. You can check for memory allocation and find out about your memory leaks, what processes are taking huge heap memory etc. More info can be found in the following links.http://www.eclipse.org/mat/http://ice09.wordpress.com/2009/06/28/eclipse-galileo-mat-and-a-little-spring/        </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3506509335616143054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/cool-memory-analysing-tool-for-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3506509335616143054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3506509335616143054'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/cool-memory-analysing-tool-for-eclipse.html' title='Cool memory analysing tool for eclipse'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8311922887199331701</id><published>2009-08-28T13:16:00.001+05:30</published><updated>2009-08-28T13:16:10.615+05:30</updated><title type='text'>The Perm Gen Exception in JBoss</title><summary type='text'>We sometimes get the PermGen runtime exception thrown from JBoss when running our app. Following in the lines of the exception i stumbled upon two very useful articles explaining the same. This can be found at;http://www.unixville.com/~moazam/stories/2004/05/17/maxpermsizeAndHowItRelatesToTheOverallHeap.htmlhttp://narencoolgeek.blogspot.com/2007/08/heap-size-and-perm-size.htmlAs it states </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8311922887199331701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/perm-gen-exception-in-jboss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8311922887199331701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8311922887199331701'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/perm-gen-exception-in-jboss.html' title='The Perm Gen Exception in JBoss'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-6363163535491550816</id><published>2009-08-26T12:54:00.001+05:30</published><updated>2009-08-26T12:54:25.694+05:30</updated><title type='text'>Java EE 6 Is Out</title><summary type='text'>Wow some pretty cool features are out with the new Java EE 6 package. Nice post on the same can be found @ http://www.devx.com/Java/Article/42351/0/ Particularly I believe the Asynchronus type method invocation on Session beans is a pretty useful feature as some times we have to use MDBs to replicate the same kind of behaviour even though what we really need is just a non blocking call.           </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/6363163535491550816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/java-ee-6-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6363163535491550816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/6363163535491550816'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/java-ee-6-is-out.html' title='Java EE 6 Is Out'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3820939611585252947</id><published>2009-08-22T17:25:00.001+05:30</published><updated>2009-08-22T17:27:41.858+05:30</updated><title type='text'>Singleton not really singleton ??????</title><summary type='text'>The power of Java reflection is amazing. Check the following post on how you can even access Singleton  classes and create new objects . Amazing...http://www.javaworld.com/community/node/892</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3820939611585252947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/singleton-not-really-singleton.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3820939611585252947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3820939611585252947'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/singleton-not-really-singleton.html' title='Singleton not really singleton ??????'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-8552287514039854329</id><published>2009-08-18T13:34:00.003+05:30</published><updated>2009-09-29T13:25:48.452+05:30</updated><title type='text'>Hibernate And Oracle User Defined Types</title><summary type='text'>I came across a situation recently where i had to use hibernate to read an Oracle defined object type which was used as a column type in the database. A friend of mine shared a useful link which explained how to do this using hibernate 2. But as we were using hibernate 3 I had to do a few adjustments to get it working. Following I share the procedures you need to follow in order to get hibernate </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/8552287514039854329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/hibernate-and-oracle-user-defined-types.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8552287514039854329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/8552287514039854329'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/hibernate-and-oracle-user-defined-types.html' title='Hibernate And Oracle User Defined Types'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-5852956132707964812</id><published>2009-08-16T19:25:00.003+05:30</published><updated>2009-08-16T20:14:20.966+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Project Planing'/><category scheme='http://www.blogger.com/atom/ns#' term='Planning'/><category scheme='http://www.blogger.com/atom/ns#' term='Estimation'/><title type='text'>Time for some realistic planning</title><summary type='text'>Ok so we have talked about iterative development, how to implements it then we got on to estimation and this post continues in that path to make it possible for you to provide reasonably realistic estimations and also talks about how to handle the customer when it comes to tight situations.So you and your team come up with an estimate for the whole project and guess what, the customer thinks its </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/5852956132707964812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/time-for-some-realistic-planning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5852956132707964812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/5852956132707964812'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/time-for-some-realistic-planning.html' title='Time for some realistic planning'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-3514478266930792819</id><published>2009-08-11T21:49:00.004+05:30</published><updated>2009-08-12T08:41:50.118+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Project Estimation'/><category scheme='http://www.blogger.com/atom/ns#' term='Estimate'/><category scheme='http://www.blogger.com/atom/ns#' term='Project sizing'/><title type='text'>The Dreadful Estimates</title><summary type='text'>Well the title of this post it self is self explanatory aint it ;) ...  We all know how hard it is to estimate something in our own lives. Moms will always ask how long will it take to clean your room, wife will ask how long will it take for you to get home, if you ask your dad for something he will ask how much does it cost.. So as the pattern goes on you can see all of us live in a world </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/3514478266930792819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/dreadful-estimates.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3514478266930792819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/3514478266930792819'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/dreadful-estimates.html' title='The Dreadful Estimates'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-326156600937957437</id><published>2009-08-09T20:31:00.002+05:30</published><updated>2009-08-09T20:57:24.916+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Iterative Software Development'/><title type='text'>Iterative Software Development Cont.....</title><summary type='text'>My last post gave an introduction to what iterative development is all about and what kind productivity and value addition it brings to the table. In this post i want to address the questions unanswered in my last post. Cant keep the readers in suspense now can i ;) ... But hey everybody likes a little thriller every now and them right? :) .... So what were the questioned that were unanswered in </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/326156600937957437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/iterative-software-development-cont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/326156600937957437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/326156600937957437'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/iterative-software-development-cont.html' title='Iterative Software Development Cont.....'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-4125780086896226185</id><published>2009-08-09T20:16:00.003+05:30</published><updated>2009-08-09T20:30:15.930+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Iterative development'/><category scheme='http://www.blogger.com/atom/ns#' term='Developing in cycles'/><title type='text'>Iterative Software Development</title><summary type='text'>Ive been wondering why sometimes we in our projects face tight dead lines and if there is any way we could overcome such situations. In my current project we are kind of facing a tight deadline situation as well and this led me to investigate on this topic of how the development process should be organised so that these kind of issues can be resolved before hand as much as possible.My eyes caught</summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/4125780086896226185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/iterative-software-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4125780086896226185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/4125780086896226185'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/iterative-software-development.html' title='Iterative Software Development'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dlItVCe9MRE/Sn7kc7DcQdI/AAAAAAAAABA/SjOWIBb4epc/s72-c/iterative.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-442255317610035639</id><published>2009-08-06T15:03:00.001+05:30</published><updated>2009-08-06T15:03:11.437+05:30</updated><title type='text'>JavaScript instance methods vs Class methods</title><summary type='text'>Javascript instance methods are those that start with the "this" keyword where as class methods start with the prototype keyword. The difference between the two is that given an object instance methods are created per object whereas class methods are only one per class and not per instance so you will avoid creating duplicate object methods. Examples of the two are as follows;   1. Instance </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/442255317610035639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/javascript-instance-methods-vs-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/442255317610035639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/442255317610035639'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/javascript-instance-methods-vs-class.html' title='JavaScript instance methods vs Class methods'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9150561117329868491.post-1606280553471925591</id><published>2009-08-05T12:58:00.003+05:30</published><updated>2009-08-05T13:17:11.176+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script Date Object'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script Date'/><category scheme='http://www.blogger.com/atom/ns#' term='JS Date'/><title type='text'>Java Script Date Object</title><summary type='text'>Java script consist of a Date object which is kind of similar to the Java Date object where as it uses the time since the epoch but some utility method available in the Java language are not available in the JS Date object version. Some of the utility method which i cared to share are as follows;getDate() - Get the day of month e.g 1-31getMonth() - Gets the month of the year. Note that it starts </summary><link rel='replies' type='application/atom+xml' href='http://dinukaroshan.blogspot.com/feeds/1606280553471925591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/java-script-date-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1606280553471925591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9150561117329868491/posts/default/1606280553471925591'/><link rel='alternate' type='text/html' href='http://dinukaroshan.blogspot.com/2009/08/java-script-date-object.html' title='Java Script Date Object'/><author><name>Dinuka Arseculeratne</name><uri>http://www.blogger.com/profile/13924080326710656628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-YHIc_EFIMu0/Ti5oReEajlI/AAAAAAAAADw/1-hCpJlv9aY/s220/profpic.jpg'/></author><thr:total>0</thr:total></entry></feed>
