Skip to content

Category Archives: Rants

Noobness Revealed

Post examples of Noobness in this thread. Example 1: Not understand how to use NOT logic (aka, the ‘!’) if ((expDate!=null && expDate.isPast(null)) || (effDate!=null && effDate.isFuture(null)) || id.getRank() == null) { //Do Nothing } else return id; Example 2: Hard-coding Array indices if(person[i][3].equals(“Sam”) && person[i][1].equals(“17″)) name = person[i][3] + ” ” + person[i][4] + [...]

Rod Johnson and Gavin King, head on

It’s quite obvious that the folks at Interface 21 (Spring Source) and JBoss have quite opposite goalsets that are not necessarily complementary. While Spring subtly embraces Hibernate technology, JBoss seems to be committed to prove that _Spring_is_not_panacea after_all_. I’ve been working on JBoss Seam for a few days now and if I’m not wrong, the [...]

Redesigning Login on the Web

Scenario 1 – You are checking the Status of your package on Amazon. You login in the morning. Click Account. Track Packagaes. Amazon.com ‘forces’ you to login again. Why? Ah. Security. You do this 10 times. You are forced to login 10 times. Scenario 2. Ebay. Imagine you are bidding on an item and are [...]

What is Up With Java Dates?

I know Java handles dates with all the finesse of a brain-damaged… Ok there must be a better way to do this: //get the current time and put it in a sql.Date java.util.Date dateTime = Calendar.getInstance().getTime(); pCode.setDtActive(new Date(dateTime.getTime()));

Any Configurable Installation packages?

Many a time when you are working on a web application, you would need to release your files for adopters to deploy and test early. Sometimes when your adopters are as many as 7, things dont look nice! Have a look at the following setup Typical Opensource webapp —————————– 1) Download Tomcat 5.5.x/JBoss 4.x 2) [...]

Much Respect for IT Support/Helpdesk

So I’m on my way to the water cooler today when the receptionist flags me down and tells me I have a call. “I have a call, me?” I asked. “Yes, on line 5.” she says. So I go back to my desk and I’m actually excited because I NEVER get calls, ever. Not on [...]

The Legacy that is SilverStream

Someone at the client site comes over to me this morning and says the website is not working. When I asked for a slightly better explanation, I was told that you click on this icon and it does nothing. I quickly verify the problem, then attempt to figure out what’s wrong. The source HTML in [...]