Archive for the ‘Java’ Category

Studying for SCJP?

I was recently quizzed about prep for the Sun Certified Java Programmer exam, so here’s a quick rundown of the resources I found useful and tips I picked up when I was studying for SCJP 5. All in, it cost me around £200 and took just under four months. I can recommend the following resources: [...]

Posted on March 14, 2010 at 8:16 pm by Paul Brabban · Permalink · One Comment
In: Development, Java

When Eclipse Plugins Don’t

Quick Version If, after ‘installing’ a plugin for Eclipse 3.4 it’s not visible in Preferences or in context menus, check that your user account has permissions to write into the appropriate Eclipse directories – because Eclipse doesn’t warn you. Preamble For those who don’t know, Eclipse is an IDE heavily used for Java development. Like [...]

Posted on January 27, 2010 at 10:55 pm by Paul Brabban · Permalink · Leave a comment
In: Development, Java

Perl is slower and faster than Java

Bit of a random one coming up… I needed to get an measure of the difference in performance between Perl and Java for a simple client application, so I wrote the traditional ‘Hello World’ app in both and ran a bunch of executions averaging over the time from start to end of execution. The net [...]

Posted on January 9, 2010 at 12:39 am by Paul Brabban · Permalink · 5 Comments
In: Development, Java, PERL

Why Java?

I was recently asked, why Java? It’s a great question – exactly why do I choose to learn the Java language? I gave it some thought and I’ll share what I considered. I’m certainly not saying that what follows is a justification of the Java language in any general context, nor am I any kind [...]

Posted on November 22, 2009 at 6:59 pm by Paul Brabban · Permalink · Leave a comment
In: Development, Java

When Disabling DNS Caching Doesn’t

If you’re going to fiddle with networkaddress.cache.ttl, do it before you touch the network. I was using the java.net.InetAddress class to resolve IP addresses from DNS names the other day. I wanted to test my code by manipulating my local system’s ‘hosts’ file, to quickly simulate moving IP addresses around behind a DNS name, so [...]

Posted on August 13, 2009 at 9:39 pm by Paul Brabban · Permalink · Leave a comment
In: Development, Java