Category Archives: java
Spiffing up JFreeChart charts
I recently was given a copy of ChartFX for Java to evaluate as a charting solution for a Java project. After using it for a while it seemed nice despite having some odd ways of doing things that I think come from it originally being a C# and VB product. After playing with it for [...]
Connection timeouts with the Apache commons TelnetClient
I recently used the Apache commons net package in a project to create a small telnet client that automated a login process. It is hard to find a lot of documentation on TelnetClient but there are some examples. For what I wanted to use the telnet client for I ran into a problem because I [...]
Posted in java Leave a comment
Using Java to get detailed DNS information
Not long ago I was curious about using Java to look up DNS information so I decided to put together a little DNSBL/RBL checker so I could experiment with Java DNS lookups and some PHP/Java communications. There isn't a lot of Java DNS stuff out there but it was easy to tell that the tool [...]
Also posted in system administration, utilities 3 Comments
Building firefox and mozilla tools on an AMD64
Sometimes I curse the day I decided to get a 64 bit box. Everything is fine until I want to build something by hand or upgrade something and then if it doesn't just work it is like a maze of problems.
Recently I was trying to build firefox from source along with XULRunner so that [...]
Also posted in linux Leave a comment
Thread pooling with Java concurrency utilities new (java 1.5) and old (util.concurrent)
Java Concurrency in Practice
Threading in java is fairly easy and now with java 1.5 some of the stuff that was harder has become even easier. A few years ago someone pointed me to a site that had some concurrency utils that where the precursor to what are now the concurrent utils in java 1.5. They [...]
Posted in java Comments closed
JDBC + Batch updates + Non-Standard == Oracle
I recently ran into an issue where doing a large number of inserts and updates in an Oracle 8i database was taking forever. I was already using a prepared statement and commiting only after a certain number of rows. After some digging I found out that there is a special Oracle way of doing batch [...]
Posted in java Leave a comment
PowerDNS Makes Custom DNS Backends Easy