What is science? The practice of making up a fake world, filling it
up with only data that the Scientist approves, in pursuit of publishing a
fairy tale about what happened when the scientist‘s hypothesis was
tested against his sanitized surrogates. We...
I'm not sure when this happened, but at some point the JDK-included
VisualVM utility became extensible. This is really great news for me.
Writing a profiler is a lot of work (although admittedly very
interesting and fun). VisualVM has become such a...
No, those are not ingredients for a new fruit salad recipe. These are
just the components I used in one of my pet project: it’ss a Swing
application in which I wanted to try out CDI. I ended up with Weld SE, which is the CDI RI from JBoss.
Lately, I have been learning a thing or two about the JVM internals. And
one of the most interesting things that I came to know about was, the
existence of different types of references in Java.
To go about it, there are actually 4 kinds of reference...
Software grows organically. One line at a time, one change at a time.
These changes soon add up. In an ideal world, they add up to a coherent
architecture with an intention revealing design. But sometimes software
just grows hairy – full of little...
In a previous article I stated that the reason the deserialisation of
objects was faster was due to using recycled objects. This is
potentially surprising for two reasons, 1) the belief that creating
objects is so fast these days, it doesn't matter or is...
When people present some topic, many try to cover the topic very
thoroughly. Don’t do that. Except your trying to kill your audience be
letting them sleep until they starve to death. A presentation shouldn’t
try to explain an idea completely. The aim...
Duncan and I had an
interesting problem recently where we had to make it possible to search
within an ‘item’ to find possible sub items that exist inside it.
The URI for the item was something like this:
Let’s say Item 234 contains the...
It seems that no matter how much you read about software and how much
you try and learn, you always seem to miss something pretty useful. I’ve
been using Maven for at least three years and only found out a few
weeks ago that you can search the Maven...
believe that software developers not being responsible for their
software in production is as damaging, bad and stupid as bankers not
being responsible for their losses. To further the analogy by
paraphrasing a commonly used derogatory term about...
HTML5 Boilerplate is a project that provides a number of basic files
to help you build an HTML5 application. At its core, it's an HTML
Chrome Frame for IE6 users and leverages Modernizr...
A standard use-case – you need an entity listener in order to execute
some code on every update/insert/delete. For auditing, for example. But
things are not straightforward if you need spring dependencies in your
listeners and you are using JPA.
One of the things that every Spring and EJB3 developer does on a daily
basis is to use annotations to inject instance variables into your
objects, which, it seems, has become something we do without thinking
You know the type of thing I’m...