Core Java
-
More compact Mockito with Java 8, lambda expressions and Mockito-Java8 add-ons
Mockito-Java8 is a set of Mockito add-ons leveraging Java 8 and lambda expressions to make mocking with Mockito even more…
Read More » -
What’s Even Harder Than Dates and Timezones? Dates and Timezones in SQL / JDBC!
There was an interesting discussion recently on the jOOQ mailing list about jOOQ’s current lack of out-of-the-box support for TIMESTAMP…
Read More » -
The Features Project Jigsaw Brings To Java 9
So, Project Jigsaw… We already know quite a bit about it but have not yet seen the details of how…
Read More » -
Writing a download server. Part III: headers: Content-length and Range
We will explore more HTTP request and response headers this time to improve download server implementation: Content-length and Range. The…
Read More » -
Strategy Pattern in Java 8
These are two examples on how to implement a Strategy pattern design using Java 8 functional style together with Cyclops…
Read More » -
Auto-encrypting Serializable Classes
A crazy idea came up during the post-mortem discussions in the Coursera security capstone project. Can a class encrypt itself…
Read More » -
Infer: A Look Into Facebook’s New Java Static Analysis Tool
How can you improve your Java development workflow with Facebook’s Infer? If you keep in the loop with tech buzz (which…
Read More » -
How to Debug Your Maven Build with Eclipse
When running a Maven build with many plugins (e.g. the jOOQ or Flyway plugins), you may want to have a…
Read More » -
Motivation And Goals Of Project Jigsaw
A couple of weeks ago I wrote about how Project Jigsaw may break existing code. So what do we get…
Read More »