Category Archives: coding

Apache Shiro part 1 – selecting a Java security framework

What is Shiro? Apache Shiro is an open source Java security framework which makes authentication, authorization and cryptography very easy to use with a simple and small configuration. It is very portable because of its independence from the used application frameworks and covers all kinds of scenarios from console over desktop client to web applications. […]
Also posted in Java, Security, Tools | Tagged , , , , , , , , | Leave a comment

Don’t rely on Java finalizers

Recently I was facing a problem where a Java application should persist a part of its state when it was closed. This was already implemented but seemed to work just unreliably and it was not clearly reproducible when it worked properly and when it failed. After analyzing the existing source code I figured out that […]
Also posted in english, Java | Tagged , , | Leave a comment

Removing Excel rows with POI

When generating Excel Sheets it is sometimes necessary to remove rows which match a given criteria afterwards. The first idea for this would be to use removeRow(Row row) but this has the problem that it deletes all the row contents and leaves the empty row in your sheet which is probably not what you want. […]
Also posted in english, howto, Java | Tagged , , , , | Leave a comment

Book review: Becoming a Better Programmer

This is a book I wish I had read when starting my career as a professional developer because I would have had a head start about many of the things everybody takes for granted but at as a student nobody tells you about. Don’t get me wrong I don’t say that I couldn’t get anything […]
Also posted in Books, english | Tagged , , , | Leave a comment

JavaOne 2016 recordings

If you are interested in the JavaOne talks but couldn’t make it to San Francisco there is already a Playlist with all recorded sessions (85 Videos) from this year on YouTube. I would be glad to recommend anything but until today I was too busy for watching anything so there is only the raw link for […]
Also posted in english, Java, Talks | Tagged , , , , , | Leave a comment