Mastodon
Steven Schwenke's Picture

Steven Schwenke

My Name is Steven Schwenke. I am a passionate software craftsman and love to share my experiences.

JavaFX Series - Hover-Panes

JavaFX Series - Hover-Panes

This article is part of my JavaFX Series. Get the preceding articles here. After setting up the basic world in which the simulation takes place, I decided t...

JavaFX Series - Separation & Life Cycle

JavaFX Series - Separation & Life Cycle

With the last post of this series, I started experimenting with JavaFX. Since then, I figured out how to separate the user interface (UI) framework from th...

JavaFX Series - Hello World!

I worked with Java Swing for quite some time now. However Swing is said to be dead since a couple of years, it seems that nobody notified some companies abo...

Test-Driven Refactoring

Recently, I stumbled over the following code: public boolean someMethod() { List<String> list = getSomethingFromDatabase(); // something is d...

Minimizing (organizational) Variables

Gaming is part of IT. For me, it is a quite important one because my career started with computer games. While playing strategy games I noticed an interesti...

Global Setup Strategy

Recently, I began reading Clean Code by Uncle Bob (again). In chapter 11 (“Systems”), he writes about a “Global Setup Strategy” of an application. As I under...

Hibernate Missing Column ID

This article covers a problem I encountered using Hibernate 3.0 and Spring 2.5.6. Yesterday, I spend one hour to debug the following error from the Hibernat...

Using Dependency Injection

One topic of discussion I encountered in every project so far is the “right” usage of Springs Dependency Injection (DI). In this article, I want to describe ...

SVN blame vs comments in code

The other day I had a discussion with a coworker about comments. Often he annotates the parts of the code that he writes with his name / SVN name like this: ...