Skip to main content

Oyvind Bakksjo

Oyvind Bakksjo is a senior software engineer, working for Sun Microsystems' Database Technology Group in Trondheim, Norway. He's currently occupied with development on the Apache Derby database, where he's a committer. Previously, he has been working on the Clustra high-availability database management system. Oyvind likes working with Java in all "sizes", from ME through SE to EE. He is dedicated to parallel algorithms, multi-threaded programming and writing rock-solid code, never willing to sacrifice readability or maintainability.

 

bakksjo's blog

Debugging on J2ME/CLDC devices

Posted by bakksjo on September 22, 2005 at 4:10 AM PDT

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

Posted by bakksjo on September 20, 2005 at 1:06 AM PDT

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)

Posted by bakksjo on September 19, 2005 at 6:22 AM PDT

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