Teach

Are you aware that I know a lot about you? You don’t believe me? Here you go: You are smart! You are constantly trying to improve your skills! You are probably better at what you do for a living than most of your colleagues!
Wow, how did I do that? Simple: You are reading my blog. [...]

Posted in: The Rest by Jens Schauder 1 Comment

Hibernate has Problems, but where is the Alternative?

In a late blog post Stephan Schmidt vents his problems with hibernate and declares “ORMs are a thing of the past”
I agree to some extend:
- The SQL generated by Hibernate by default is horrible. Huge joins, with hundreds of columns, many unneeded.
- Annotations feel like dirt in your code, and maintaining XML mappings is just [...]

Posted in: Softwaredevelopment by Jens Schauder 11 Comments , ,

Moving a Server Certificate and Private Key from Windows to a Java Key Store

Some days ago I was asked to set up a tomcat server for SSL. You’d think this is a no brainer. And it actually is when you proceed along the paved path. But if you deviate only a little, you are in big trouble. I solved the trouble I got in, and here is my [...]

People are like Water

I found a new (at least for me) metaphor: people are like water. The cool thing about this metaphor is: When you manage people you can use it to learn from the engineers building channels and dams. So here are the things you can learn:
If you want to stop a certain behavior, build a dam [...]

Posted in: Management by Jens Schauder 2 Comments , , , ,

New Feature of JUnit: Rules

I am always surprised how many unknown feature hide in a supposedly simple library. Todays example is JUnit. When inspecting the newest version (4.7) I noted an annotation I hadn’t noticed before: @Rule. WTF? I am looking at a testing framework and not at a rules engine, am I? So naturally I tried to find [...]

Posted in: Softwaredevelopment by Jens Schauder 3 Comments , , ,