Here’s a quick post to get the week started: Recently I was working on my arc42 example project, enforcing Sun / Oracle coding conventions through Checkstyle and it bugged me that my project was missing several package-info.java files. While adding them and writing something useful I was happy that I chose good slices that fit […]
Note: Much improved versions of this post have been published to JAXenter.de and JAXenter.com: Erzeugungsmuster mit Java 8 Lambdas Creational patterns with Java 8 lambdas I hope you enjoy reading them as much as I enjoyed writing them! Sometimes I’m under the impression that one of my favorite DI frameworks, Spring, is the butt of […]
Without any comment on which style is right, you can use GNU util expand / unexpand to replace tabs with spaces and vice versa. For example, you can use the following command to replace all tabs with spaces and the recommended 8 spaces width in all Java files through find . -name ‘*.java’ ! -type […]
This weeks post has some anecdotally value for me. 9 years ago I wrote a horrible tutorial about threads, which I really liked back then. In the meantime I often thought I should delete the post and only kept it around to prove some improvements on my side 😉 Anyway, the code in that tutorial […]
There are several plugins out there for supporting Spring development in NetBeans, but the NB-SpringBoot by Alessandro Falappa seems to be the most feature complete. At the moment installation must be done via manual download from here but that should be fixed soon. You’ll get a really nice Spring property support: Great integration with start.spring.io: […]