Core Java
-
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 » -
5 Features in Java 9 that WILL Change How You Develop Software (and 2 That Won’t)
What are the most exciting features that are expected to be released in Java 9? Don’t get distracted by the…
Read More » -
GC tuning in practice
Tuning Garbage Collection is no different from any other performance-tuning activities. Instead of giving in to temptation for tweaking random…
Read More » -
30 Java Programming Tips and Best Practices for Beginners
Java is one of the most popular programming languages – be it Win applications, Web Applications, Mobile, Network, consumer electronic…
Read More »