Articles Archive for September 2008
Web2.0 »
It’s been three weeks since Google released their new browser “Chrome” to windows users. Google’s dominance in web really helped them to push this ‘yet-another-browser’ easily to hundreds of people. Wait! Did I say ‘yet-another-browser’!? No, Google chrome is not a ‘yet-another-browser’, but it’s a new beginning to the world of web 2.0 computing. Yup! Chrome has redefined the way browsers are interacting with users and with the pages.
Java »
My requirement is to prefix a ‘0′ (Zero) to the number, if the number falls below 10, i.e. I should always get two digits as my result when I fetch the data from the database. So, I wrote a SQL query to do the same. Below is the sample query.
SELECT CASE WHEN FLD < 10 THEN ‘0′||FLD ELSE FLD END FROM SOMEDB
Note that the FLD is a numeric field. As you see, the above query should return ‘01′, if the FLD has value less than 10. But to surprise, the …
Java »
Recently I’ve completed my first JBoss portlet development project. I’ve faced many challenges during the development, since this is my first portlet project. But I managed to complete the project successfully. This blog is like a documentation of my experience and learning in JBoss portlet development.
Platform used : JBoss 4.2.2 / JBoss portal 2.6.4
JDK : JDK 1.5.0
IDE Used : Eclipse
