Why OK, so interfaces can now provide a default implementation. This makes sense if you want to be able to add new methods to your interface without breaking existing implementations. Oracle uses default methods quiet extensively (see java.util.Collection). Simple example public class SimpleExample { interface Interface1 { default void test() { System.out.println(“– default test”); } default void test2() { System.out.println(“–… Continue reading Java 8 default methods
Author: admin
Docker
Lately I had a short presentation about Docker for which I created some slides. The idea was to run the presentation (AngularJS, HTML, CSS) inside a container. You can find the presentation here. Maybe you find it useful.
Spring Boot Health Checks
Spring Boot brings along some cool “production ready” features. Among them are the health checks. They are a great way to give you a quick overview about the system state. Is the database up and running, is my disk running out of space? Getting started Having a Spring Boot application already setup you just have… Continue reading Spring Boot Health Checks
I just solved a Java Performance Puzzle by @javaplumbr
I just solved a Java Performance Puzzle by @javaplumbr. Are you up for a challenge? https://plumbr.eu/blog/java-puzzle It was pretty fun, thank you guys!
Full height multi column layout
Full height multi column layout using CSS3 vh,vw,vmin and vmax unit I had to create multi column layouts that span the entire height of the visible space pretty often. And it was very frustrating every single time. Since CSS 3 there is a new unit you can use that defines a relative value of the viewport’s dimension.… Continue reading Full height multi column layout
CSS Grid System
Layout für deine Webseite Um mit HTML und CSS ein hübsches Layout zu erstellen, gibt es ganz viele verschiedene Möglichkeiten. Vor langer, langer Zeit war es einmal üblich alles mit Tabellen (<table>) zu lösen. Damit war man allerdings nicht so ganz zufrieden (eine Tabelle ist für Daten und nicht für das Layout gedacht!) und ist… Continue reading CSS Grid System
Lets create a 3D cube with CSS
Basic idea Although I’m not sure how useful 3D transformations are in modern web design and how extensively you should use them, there is no doubt that they are just cool. Therefore I want to show you how to create a simple 3D cube using some simple HTML divs and CSS3 3D transforms. The basic idea… Continue reading Lets create a 3D cube with CSS
Equal height divs made simple
I can’t remember how often I had to create a column based layout using HTML and always struggled when it came down to placing two divs next to each other having the same size. Usually the problems pops up when the columns have a different background or some kind of other visual attribute such as a border.… Continue reading Equal height divs made simple
Wie ich zum Programmieren gekommen bin
Schon als Kind habe ich mich für Computer sehr begeistern können. Als dann mein damals bester Freund Omar seinen alten Commodore 128 für ein paar Franken verkaufen wollte, habe ich sofort zugeschlagen. Ich wusste damals nicht wirklich, was ein C128 ist und war reichlich enttäuscht, als ich diesen gestartet habe und keine Spiele starten konnte.… Continue reading Wie ich zum Programmieren gekommen bin