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: [...]
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 [...]
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 [...]
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 [...]
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 [...]
In: Development, Java
