Learn
This is the general learning category of posts.
-
This is one of the techniques I implemented in my last project, among others, to improve response time of JSPs in a Struts 2 based web application. We know that, in any J2EE web application, the page load time is relatively high when we access the page for the first time because the container has
-
This is one learning from my previous project in 2009. The most platform-independent and flexible way in Java to load resources such as files is to read the resource from CLASSPATH. This way, as long as the resource’s location is added to CLASSPATH, the resource can be anywhere on the disk. Java provides a method
-
14 October 2010 Level 15, 92 Albert Street Auckland, New Zealand This is the location where a dream I have been dreaming from 2007 January got realized. I have my dream gadget in my hand. In fact my dream has been transcended. I just dreamt about iPhone and I got iPhone 4. I never thought
-
I had to send two xml messages to a JMS queue with slight delay between them. Since I am writing a Java Vuser script, I wasted no time in choosing Thread.sleep( milli sec) function. This worked fine in Vugen so I was sure. But during the execution of Scenario in Load Controller, I observed that
-
I wrote a small piece of code which basically listens to JMS queue and receives messages. The following 3 code snips shows what I wanted to do.The snip on left is the improved and refactored code and the one on the right is the bad code. In this following snip I tried to create a
-
I have lot of lust for gadgets. I can spend any amount of time researching them, knowing their features, and reading their reviews. In 2005 I wanted a laptop, digital camera and iPod. Now I have them all. I am very satisfied with my choice of Lenovo 3000 N100 laptop. It is awesome. I never
-
Tip Courtesy: Veera Sundar ( http://www.veerasundar.com ) 1. Press Ctrl + Shift + R (Record Macro), which starts a macro recording session.2. Continuously press the ‘_’ (underscore) character for about 100 chars length (which now looks like a horizontal line).3. Then again press Ctrl + Shift + R, which stops the current macro recording session
-
At last, after keeping CDs idle for about 1 year, I installed Ubuntu in my laptop. It is cool and simple. I could finish it in second installation attempt. First attempt failed because the partition which I selected to install was in FAT32 format. Installation failed when it was about to complete.GRUB couldn’t get installed.Then
-
While typing word documents Shift + F3 can be used to change the case of the text. The same can be achieved by choosing Menu → Format → Change Case. But nothing beats a keyboard shortcut. Hence it is worth remembering. It saves a lot of time.
-
Blogger used to irritate me when I have to type any code snippet in courier font.But this is only until Susam Pal suggested the use of <pre></pre> tag. Thanks Susam for this knowledge.Susam also has his blog .If you are a Math buff, his blog is one of the good one to subscribe. PS:- While