Thoughts on Java

I’ve been spending the last week hacking around in Java. One of the components of the product I develop is the open source OpenNMS. As I’ve mentioned before it’s been lightly modified by myself to blend in better with our code mainly in the JSP department for it’s web interface. Last week I discovered I …

Continue reading ‘Thoughts on Java’ »

JSP tags

Arrggh. I’ve just wasted the best part of half a day scratching my head as to why I was unable to iterate through a Java HashMap in a JSP page: <c:forEach var=”entry” items=”${model.jvmInfo}” varStatus=”status”> <tr> <td> ${entry.key} </td> <td> ${entry.value} </td> </tr> </c:forEach> It would of been immediately clear had I looked at the resulting …

Continue reading ‘JSP tags’ »

Too much perl, the irony

I got my current job based on my experience with C/C++ and GTK. So far most of the code I’ve been writing has been perl and Java. Some times I think I’m writing too much perl: # Quick and dirty match for IP (but without the tedious address # verification) my $ip_match=qr#([\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3})#i; The tedious address …

Continue reading ‘Too much perl, the irony’ »