bakksjo's blog
Debugging on J2ME/CLDC devices
I'm convinced; the people who made the CLDC spec gathered early in the process and decided: "We'll make sure nobody is ever going to be able to debug CLDC applications on a real device."
At least that's how it seems.
Embedding the Apache Derby database in a Web Application
I found this article on integrating Derby with Tomcat. It shows three integration scenarios:
- The prototype integration
- Derby is used only by a single web application, but each HTTP request actually causes an attempt to load the Derby system (in embedded mode) into memory.
Java Exception Handling Patterns (Part 1)
In a series of blog entries, I intend to discuss various patterns for exception handling in Java.
Don't use enumerated exceptions
Quite often, you will see code using what I like to call "enumerated exceptions".
An enumerated exception typically looks like this:
public class ModuleException
extends Exception
{
private int exceptionNumber;
public final stati





