Category Archives: Uncategorized

You can't hide from Google

A couple of months ago I stumbled across this Java magazine which I hadn't heard of before. Java Developers Journal, published by SYS-CON Media. I got interested and ordered a PDF back issue using PayPal.

It took some hours for my PayPal payment to come through but once it did I expected some kind of notice of where I could download the PDF. But nothing. Nothing on my e-mail, nothing on my personal pages on the publisher's site. I even sent some messages to their support. No response. I tried to search their site for some answers but found nothing.

Finally I turned to Google in pure desperation and entered the search

site:sys-con.com pdf

to see if Google could find any info on their site on how to obtain ordered PDF issues.

I got some surprising results! Try it for yourself. Or even better, try

site:pdf.sys-con.com

After about a week I got a response from their support. Turns out I had to log in on their site and then go to their archive section. There I would find a link to the PDF I'd ordered. Which I had of course already read by that time.

I don't think I will order any PDFs from them for quite some time! Eye-wink

Drupal Statistics on Steroids

The statistics collected by Drupal‘s builtin statistics module is rather limited and there are no facilities to create nice graphs or in other ways manipulate the collected data. On the other hand there are a lot of great and free web tracker services out there which let you gather statistics on your visitors and then query that data in various ways. Today, I integrated one such service, StatCounter, with the Drupal based web site you are looking at right now. Continue reading

jMock-solid Testing

Some time ago I started using jMock to create mock objects in my unit tests at work. If you haven’t heard of mock objects before it’s really quite simple — mock objects are used during unit testing as stand-ins for those objects the class you’re testing interacts with. So when you unit test a class in your application’s service layer which depends on a DAO, instead of using the real DAO you would use at runtime you use a mock object which implements the DAO interface. To the class under test this mock object will look as if it was a real DAO implementation. Continue reading