Tag Archives: eclipse

Top-Down Test-Driven Development

In Test-Driven Development (TDD), I have a tendency to dive right in at the level of some class that I am sure I’m gonna need for this cool new feature that I’m working on. This has bitten me a few … Continue reading

Posted in Code, Design, process, test | Tagged , , , , , , | Leave a comment

Bowling Again

It’s been a while since I’ve done the bowling game scoring exercise. For those of you who don’t know it, the bowling game (ten-pin) is almost the Hello, world! of TDD. I want to learn Groovy, but I’m going to … Continue reading

Posted in Code, test | Tagged , , , , | Leave a comment

OSGi & Maven & Eclipse

If you’re involved in a large software development effort in Java, then OSGi seems like a natural fit to keep things modular and thus maintainable. But every advantage can also be seen as a disadvantage: using OSGi you will end … Continue reading

Posted in Code, Debug, Environment | Tagged , , | 4 Comments

Ubuntu 9.10 & Eclipse 3.5

I recently upgraded Ubuntu to its latest version (9.10, Karmic Koala) and it works great so far. Except for Eclipse. I ran Eclipse 3.5 (Galileo), and apparently SWT in that version does something wrong in communicating with GTK. The end … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

JavaFX for GNU/Linux has arrived

Finally, the time has come: JavaFX is now supported on both GNU/Linux and Solaris. It’s not really advertised, though, so h Here’s how to get it: Go to the JavaFX website. Click the Download now button. Yes, the one that … Continue reading

Posted in Environment | Tagged , , | 1 Comment

JavaFX plugin for Eclipse patched

A while ago I wrote about how the JavaFX Eclipse plugin has some shortcomings. Luckily, the plugin is released under an Open Source license (BSD). Therefore, the source is available, and anyone can fix problems and supply patches. So I … Continue reading

Posted in Code | Tagged , , , | Leave a comment

JavaFX plugin for Eclipse

Being an happy Eclipse user, I’ve always felt sort of a second-rate citizen in the JavaFX world. I get it that Sun wants to promote their own IDE. But let’s face it, there are a lot of us Eclipseans (is … Continue reading

Posted in Code, Environment | Tagged , | 1 Comment

Running a JavaFX script from an OSGi bundle

Two technologies that have been on my radar for a while are JavaFX, Sun’s entry in the RIA race, and OSGi, the Dynamic Module System for Java. In this tutorial, I will combine the two by running a JavaFX script … Continue reading

Posted in Code | Tagged , , , , , , , | 19 Comments

Automating refactorings

I’m a big fan of both refactoring and automation. It’s no wonder, then, that the support for automated refactoring in Eclipse makes me very happy. I find that it makes me a lot more productive, and I produce better code. … Continue reading

Posted in Code, Design | Tagged , | Leave a comment

The Power of Convention

I ran into some code the other day that wasn’t obvious to me right away. Why? Because it didn’t follow conventions. Let me explain. In our system, we have what we call ‘binding objects’. These are objects that are persisted … Continue reading

Posted in Code | Tagged , , , | Leave a comment