Search results

"category:/tech/java"


Title and summary Date/time
1
mod-rewrite equivalent for Tomcat
I've migrated and merged my old blogs.sun.com and bleaklow.com blogs into this new one, using Pebble. As a result, there are a number of links out there on the interwebs to bleaklow.com that are now broken, as everything has moved around - google's ...
02-Jun-2010
18:15:00
2
Simple parser for MovableType exports
As part of moving my blog over to I needed to be able to transfer the content from my old MovableType blog and my blogs.sun.com blog, which runs on Roller. Both MT and Roller can export in MovableType export format and Pebble has a MT importer, so it ...
23-May-2010
11:03:00
3
Image thumbnailer for Pebble
This blog uses the Pebble package for delivering content. Pebble isn't a particularly common blogging package but it fits my purely personal and subjective requirements: Not written in PHP (blegh) Open source, and something in Java would be nice ...
23-May-2010
09:54:00
4
Why I hate XML configuration files
I'm working on a reasonably large (1000+ source files) J2EE application that makes extensive (some might say utterly excessive) use of external components - it requires in the order of 50 JAR libraries to run, over and above the standard J2EE ones.And of ...
05-Apr-2007
15:38:44
5
Hosting a community website using Solaris and Tomcat
Outside of work I'm also a member of a Community-based Samba band, Meninos do Morumbi Oldham, along with my son James. Like most people in the IT business, once people figure out what you do you inevitably get requests to help with anything related to ...
27-Nov-2006
02:54:59
6
Nice one, Team NetBeans!
Just read this glowing testimonial on The Inquirer for the NetBeans World Tour, which has reached Buenos Aires. I met Roumen Strobl briefly at the last Tech Day in London, and he seems like a really nice guy - I'm pleased to see he's even impressing ...
23-Oct-2006
15:53:09
7
Printing simple tabular reports with JTable
I've been putting together a little Java application that required some simple tabular reports that could be both viewed on screen and printed out, the data coming from a Derby database. I spent quite a bit of time looking a the various libraries out ...
30-Sep-2006
03:33:09
8
HTML-formatted JLabels and Matisse
I was trying to lay out a dialog that used the Matisse layout manager and included some JLabels that used HTML tags to format the content. Although it looked fine in the NetBeans GUI designer, previewing the dialog showed that the content at the bottom ...
11-Aug-2006
07:20:01
9
Run-time type checking with Java Generics
I've been looking at the Apache XML-RPC library, and figuring out how best to marshal and unmarshal Java objects that I'm passing between the client and server. XML-RPC only supports a limited set of data types, so if you want to pass the contents of an ...
13-Jul-2006
07:38:48
10
Netbeans, JNI, Webstart and Apache
Although NetBeans has a Webstart module, it isn't really up to snuff yet, as I detailed in a previous post. Specifically, it doesn't support JNI code, and it can't sign the JAR files, which is needed if you have any JNI code to deploy. However, it's ...
28-Jun-2006
04:10:35
11
Building Win32 JNI code using NetBeans and MinGW
I use a GPS mapping application called OziExplorer, and just for laughs I started fiddling around with encapsulating the API for the application so that I could use it from Java. Access to the API is via a DLL, which meant delving into the scary world ...
27-Jun-2006
08:37:33
12
Using NetBeans with SourceForge (Win32)
I have a Win32 project hosted on SourceForge, and as it took me a bit of fiddling to get NetBeans to work with the SourceForge CVS server I thought I'd document the steps needed - although there is some information on the NetBeans and SourceForge sites, ...
27-Jun-2006
07:26:52
13
OziGeocacheUK
I've been tinkering around for a while wrapping the API to OziExplorer in Java. I've finally knocked together an application that uses it. integrates information from GeocacheUK.com and Geocaching.com into OziExplorer. OziExplorer is a GPS mapping ...
11-Apr-2006
10:41:13
14
Why I hate XML, and Ant's use of it in particular
I was googling around for examples of how to sign a JAR file in Ant using the signjar task and came across this monstrosity - 217 lines of turgid XML. How anyone can say Ant is an improvement over make is a mystery to me, and how anyone could ever think ...
25-Mar-2006
08:26:49
15
Language wars are so boring
I've just read James Gosling's post on how he got flamed for daring to say that scripting languages aren't a panacea. Whereas the old language crusades used to be fought between the various "compiled languages" it seems the new jihad is between ...
24-Mar-2006
03:03:59
16
JNI_OnUnload(): mostly useless
I've been writing a JNI wrapper that requires the creation of a native thread and I've set things up using a JNI_OnLoad() function to initialise the DLL and create an event handling thread thread. I also used the JNI_OnUnload() function to kill the ...
18-Feb-2006
16:11:26
17
JSlider oddity - setFont() is ignored
Despite what you might expect, the labels on a JSlider ignore any font that you specify with setFont(), at least in the Windows L&F. Most odd.
14-Feb-2006
03:21:11
18
Oooh! Shiny! ... NetBeans 5.0
I've been very happy with NetBeans 4.1, but I've been keeping an eye on all the new stuff in NetBeans 5.0 with anticipation, especially the new Mattise GUI designer. Over the last couple of days I've been knocking together a simple Java GUI and today I ...
01-Feb-2006
17:08:51
19
WonDLLand revisited
I previously documented my problems getting my Java/JNI wrapper for OziAPI to work. As I said in my previous post, some of my problems were down to the OziAPI DLL not getting a chance to clean up properly when the application exited. Over the Xmas ...
15-Jan-2006
15:26:11
20
Thank-you James Gosling
I'd previously tried my 12-year old son (another James!) with Logo, but he got bored with drawing boxes fairly quickly, and the Lisp-like syntax proved to be pretty impenetrable when it came to doing anything more complicated - all in all Logo wasn't a ...
15-Nov-2005
16:43:42