Core Java
-

Java Subtlety with Arrays of Primitives and Variable Arguments
An interesting question was posed in a comment on the DZone-syndicated version of my recent blog post “Arrays.hashCode() Vs. Objects.hash()“.…
Read More » -

Java: Streaming a JDBC ResultSet as JSON
This post shows how you can convert a java.sql.ResultSet to JSON and stream it back to the caller. This is…
Read More » -

JDK 12 News (13 September 2018)
With General Availability of JDK 11 planned for later this month (25 September 2018), it’s a good time to start…
Read More » -

Thread-local state availability in reactive services
Any architecture decision involves a trade-off. It’s no different if you decide to go reactive, e.g. on one side using…
Read More » -

Arrays.hashCode(Object[]) versus Objects.hash(Object…)
Since JDK 1.5, the Arrays class has offered overloaded static methods with the name “hashCode“. Most of the overloaded methods…
Read More » -

Query Databases Using Java Streams
In this article, you will learn how you can write pure Java applications, that are able to work with data…
Read More » -

JEP 342: The JVM and Spectre
JEP 342 (“Limit Speculative Execution”) has transitioned from “Draft” state to “Candidate” state, but it has not yet been targeted…
Read More » -

JDK 12 Switch Expression Encountering Unanticipated Enum Value
As I wrote about in my post “Playing with JDK 12’s Switch Expressions“, the JDK 12 Early Access Builds have…
Read More » -

JDK 12: Switch Statements/Expressions in Action
My last post “Playing with JDK 12’s Switch Expressions” talked about use of the JDK 12 Early Access Builds to…
Read More »
