If you are a performance freak who makes sure every collection is initialized with the “right” size then don’t be: http://java.dzone.com/articles/java-collection-waste. In all fairness, notice the ...
A note on Weblogic JMS Queue pending + current messages count
Recently I had to perform some load tests on an application that received its input via a Weblogic JMS queue, hence making the rate of message consumption one of the key metrics to keep track of an...
The Case of the Sudden OC4J Restarts [part 2]
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> [Please read part 1 here.] TL;DR: for JDK 1.5, watch your Full GC fr...
Vim Tip of the Day!
Let’s say you have to upload a bunch of data to a table and let’s say you need to index them with an ID key.You could just declare the column to auto-increment when creating the table in the databa...
Embedding a CDATA section in your BPEL Response
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> This tip might save you a few minutes. A colleague recently wanted h...
Focus
Focus. It’s what the mind needs. Meanwhile, I continue finding my way towards enlightenment.
The Case of Sudden OC4J Restarts [part 1]
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> [Please read part 2 here.] Our OC4J instance would restart itself ev...
Writing prose in two languages (or how I coded some bits in application code, other bits in database code)
I didn’t code it. But I’m part of the team in charge of completing the project and maintaining it.Oh yeah. The project consists of an integration layer between different systems; it is implemented ...
Performance comparison: Linked-List vs. Vector [Java]
Kjellkod recently published an interesting article comparing the performance of linked-lists against that of a vector, as well as discussing the reason for the unexpected results. You can also foll...
Why I stopped caring and learned to hate XPath
Yesterday I came across another one of XPath's little quirks that cost me up to an hour of painstaking step-by-step troubleshooting to narrow down: comparing the value of a boolean element to one o...