Core Java
-
3 Examples of Parsing HTML File in Java using Jsoup
HTML is the core of the web, all the pages you see on the internet are based on HTML, whether…
Read More » -
lambdas and side effects
Overview Java 8 has added features such as lambdas and type inference. This makes the language less verbose and cleaner,…
Read More » -
This is the Final Discussion!
Pun intended… Let’s discuss Java final. Recently, our popular blog post “10 Subtle Best Practices when Coding Java” had a…
Read More » -
Gradle Goodness: Adding Dependencies Only for Packaging to War
My colleague, Tom Wetjens, wrote a blog post Package-only dependencies in Maven. He showed a Maven solution when we want…
Read More » -
Getters/Setters. Evil. Period.
There is an old debate, started in 2003 by Allen Holub in this Why getter and setter methods are evil…
Read More » -
Autoboxing
Autoboxing is clear for all Java developers since Java 1.5 Well, I may be too optimistic. At least all developers…
Read More » -
Some more unit test tips
In my previous post I showed some tips on unit testing JavaBeans. In this blog entry I will give two…
Read More » -
Custom JSR 303 Bean Validation constraints for the JSR 310 New Date/Time API
With JSR 310 Java 8 finally brought us a decent date and time API. For those of you that are…
Read More » -
Using Gradle to Build & Apply AST Transformations
Recently, I wanted to both build and apply local ast transformations in a Gradle project. While I could find several…
Read More »